TreeWalker Members
.NET Framework 3.5
Provides methods and properties used to navigate the UI Automation tree.
The TreeWalker type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetFirstChild | Overloaded. Retrieves the first child element of the specified AutomationElement. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLastChild | Overloaded. Retrieves the last child element of the specified AutomationElement. |
|
GetNextSibling | Overloaded. Retrieves the next sibling element of the specified AutomationElement. |
|
GetParent | Overloaded. Retrieves the parent element of the specified AutomationElement. |
|
GetPreviousSibling | Overloaded. Retrieves the previous sibling of the specified AutomationElement. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Normalize | Overloaded. Retrieves the ancestor element nearest to the specified AutomationElement in the tree view used by this instance of TreeWalker. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ContentViewWalker | Represents a predefined TreeWalker containing a view of elements in the tree that are marked as content controls. |
|
ControlViewWalker | Represents a predefined TreeWalker containing a view of elements in the tree that are marked as controls. |
|
RawViewWalker | Represents a predefined TreeWalker containing a view of all the elements in the tree. |