Click or drag to resize

UIAPattern Properties

The UIAPattern type exposes the following members.

Properties
  NameDescription
Public propertyClassName
The value of the ClassName property (UIA_ClassNamePropertyId) of the sought-for automation element. You can use wildcards (* or ?) or specify regular expressions (regexp:...).
Public propertyEnabled
Specifies whether the sought-for control is enabled (true) or disabled (false). Disabled controls are typically displayed in grey.
(Inherited from ControlPattern.)
Public propertyFrameworkId
The FrameworkId (UIA_FrameworkIdPropertyId) property value of the sought-for automation element (for example, "Win32", "WinForm" or "DirectUI").
Public propertyLocalizedControlType
The value of the LocalizedControlType property (UIA_LocalizedControlTypePropertyId) of the sought-for automation element. Should be lower-case. You can use wildcards (* or ?) or specify regular expressions (regexp:...).
Public propertyObjectGroupIndex
The index (zero-based) of the sought-for object in the group of objects that have the same ObjectIdentifier.
Public propertyObjectIdentifier
The value TestLeft uses to identify the object. Check the property value in the TestLeft UI Spy panel before writing code.
Public propertyVisible
Specifies whether the sought-for controls are visible (a control may be out of the screen, but still visible).
(Inherited from ControlPattern.)
Top
See Also