Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TreeWalker Members

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

The following tables list the members exposed by the TreeWalker type.

  Name Description
Public method TreeWalker Initializes a new instance of the TreeWalker class.
Top
  Name Description
Public field Static ContentViewWalker Represents a predefined TreeWalker containing a view of elements in the tree that are marked as content controls.
Public field Static ControlViewWalker Represents a predefined TreeWalker containing a view of elements in the tree that are marked as controls.
Public field Static RawViewWalker Represents a predefined TreeWalker containing a view of all the elements in the tree.
Top
  Name Description
Public property Condition Gets the object that defines the view for the TreeWalker object.
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (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)
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 Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.