TreeScope Enumeration
Contains values that specify the scope of elements within the UI Automation tree.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: UIAutomationTypes (in UIAutomationTypes.dll)
| Member name | Description | |
|---|---|---|
| Ancestors | Specifies that the search include the element's ancestors, including the parent. Not supported. | |
| Children | Specifies that the search include the element's immediate children. | |
| Descendants | Specifies that the search include the element's descendants, including children. | |
| Element | Specifies that the search include the element itself. | |
| Parent | Specifies that the search include the element's parent. Not supported. | |
| Subtree | Specifies that the search include the root of the search and all descendants. |
These values are used to specify the scope in searching for elements, subscribing to events, and caching.
Available since 3.0