 | WpfWin32ElementFromElement Method |
Converts an
Element to an instance of this class.
Namespace:
Ranorex
Assembly:
Ranorex.Plugin.Wpf (in Ranorex.Plugin.Wpf.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static WpfWin32Element FromElement(
Element element
)
Public Shared Function FromElement (
element As Element
) As WpfWin32Element
Parameters
- element
- Type: Ranorex.CoreElement
The element to convert.
Return Value
Type:
WpfWin32ElementThe WpfWin32Element.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If element is null. |
| CapabilityNotSupportedException | If the element does not support the
capabilities required by this adapter. |
See Also