Export (0) Print
Expand All

TreeWalker Members

Provides methods and properties used to navigate the UI Automation tree.

The TreeWalker type exposes the following members.

  NameDescription
Public method TreeWalker Initializes a new instance of the TreeWalker class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetFirstChild Overloaded. Retrieves the first child element of the specified AutomationElement.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLastChild Overloaded. Retrieves the last child element of the specified AutomationElement.
Public method GetNextSibling Overloaded. Retrieves the next sibling element of the specified AutomationElement.
Public method GetParent Overloaded. Retrieves the parent element of the specified AutomationElement.
Public method GetPreviousSibling Overloaded. Retrieves the previous sibling of the specified AutomationElement.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Normalize Overloaded. Retrieves the ancestor element nearest to the specified AutomationElement in the tree view used by this instance of TreeWalker.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public field Static member ContentViewWalker Represents a predefined TreeWalker containing a view of elements in the tree that are marked as content controls.
Public field Static member ControlViewWalker Represents a predefined TreeWalker containing a view of elements in the tree that are marked as controls.
Public field Static member RawViewWalker Represents a predefined TreeWalker containing a view of all the elements in the tree.
Top

  NameDescription
Public property Condition Gets the object that defines the view for the TreeWalker object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft