Click or drag to resize

MSAAPattern Properties

The MSAAPattern type exposes the following members.

Properties
  NameDescription
Public propertyCaption
The text or title of the sought-for object. To mark variable parts, you can use wildcards (* or ?) or specify regular expressions (regexp:...).
Public propertyControlIndex
The index (zero-based) of the sought-for object in the parent object's collection of child objects.
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 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. Depending on the object type, it can be the object's text (caption), static text that labels the object, or the object index in the parent object's collection of child objects. Check the property value in the TestLeft UI Spy panel before writing code.
Public propertyObjectType
Specifies the type of the sought-for object. Typically, this is the object's role without the ROLE_SYSTEM_ prefix. 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.)
Public propertyWndClass
The window class name of the sought-for object as it is registered in the operating system. To mark variable parts, you can use wildcards (* or ?) or specify regular expressions (regexp:...).
Top
See Also