ClassDesktopPattern
Class
Basic class for desktop patterns.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public class DesktopPattern
Inheritance: objectDesktopPattern
Derived Classes:
Constructors
DesktopPattern(DesktopElement)
Create new instance of DesktopPattern class.
Declaration
cs-api-definition
public DesktopPattern(DesktopElement element)
Parameters
element
Underlying element.
Fields
element
The element that implements the pattern.
Methods
EnumNativeArray(IUIAutomationElementArray)
Go over each element in a native array.
Declaration
cs-api-definition
protected IEnumerable<DesktopElement> EnumNativeArray(IUIAutomationElementArray nativeArray)
Parameters
nativeArray
IUIAutomationElementArray
The native array to go over.
Returns
Instance of IEnumerable<T>.
GetNativePattern<T>(int)
Declaration
cs-api-definition
protected T GetNativePattern<T>(int patternId) where T : class
Parameters
patternId
Returns
T