Click or drag to resize
Ranorex

UIAutomationVirtualizedItemFromElement Method

Converts an Element to an instance of this class.

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Uia (in Ranorex.Plugin.Uia.dll) Version: 12.7.4-git.38314c06
Syntax
public static UIAutomationVirtualizedItem FromElement(
	Element element
)

Parameters

element
Type: Ranorex.CoreElement
The element to convert.

Return Value

Type: UIAutomationVirtualizedItem
The UIAutomationVirtualizedItem.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf element is null.
CapabilityNotSupportedExceptionIf the element does not support the capabilities required by this adapter.
See Also