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