Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains values that specify the scope of various operations in the Microsoft UI Automation tree.
Syntax
typedef enum TreeScope {
TreeScope_None = 0,
TreeScope_Element = 0x1,
TreeScope_Children = 0x2,
TreeScope_Descendants = 0x4,
TreeScope_Parent = 0x8,
TreeScope_Ancestors = 0x10,
TreeScope_Subtree
} ;
Constants
TreeScope_NoneValue: 0 The scope excludes the subtree from the search. |
TreeScope_ElementValue: 0x1 The scope includes the element itself. |
TreeScope_ChildrenValue: 0x2 The scope includes children of the element. |
TreeScope_DescendantsValue: 0x4 The scope includes children and more distant descendants of the element. |
TreeScope_ParentValue: 0x8 The scope includes the parent of the element. |
TreeScope_AncestorsValue: 0x10 The scope includes the parent and more distant ancestors of the element. |
TreeScope_SubtreeThe scope includes the element and all its descendants. This flag is a combination of the TreeScope_Element and TreeScope_Descendants values. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | uiautomationclient.h (include UIAutomation.h, Uiautomationcoreapi.h) |
See also
AddPropertyChangedEventHandler
AddPropertyChangedEventHandlerNativeArray
AddStructureChangedEventHandler
Reference