Represents a tree control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
      Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfTree
Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfTree _
    Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfTree : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfTree : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfTree =  
    class 
        inherit WpfControl 
    end
public class WpfTree extends WpfControl
The WpfTree type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | WpfTree() | Initializes a new instance of the WpfTree class. | 
| .gif) | WpfTree(UITestControl) | Initializes a new instance of the WpfTree class by using the provided parent control. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AcceleratorKey | (Inherited from WpfControl.) | 
| .gif) | AccessKey | (Inherited from WpfControl.) | 
| .gif) | AutomationId | (Inherited from WpfControl.) | 
| .gif) | BoundingRectangle | (Inherited from UITestControl.) | 
| .gif) | ClassName | (Inherited from UITestControl.) | 
| .gif) | Container | (Inherited from UITestControl.) | 
| .gif) | ControlType | (Inherited from UITestControl.) | 
| .gif) | Enabled | (Inherited from UITestControl.) | 
| .gif) | Exists | (Inherited from UITestControl.) | 
| .gif) | FilterProperties | (Inherited from UITestControl.) | 
| .gif) | Font | (Inherited from WpfControl.) | 
| .gif) | FrameworkId | (Inherited from WpfControl.) | 
| .gif) | FriendlyName | (Inherited from UITestControl.) | 
| .gif) | HasFocus | (Inherited from UITestControl.) | 
| .gif) | Height | (Inherited from UITestControl.) | 
| .gif) | HelpText | (Inherited from WpfControl.) | 
| .gif) | HorizontalScrollBar | Gets the horizontal scroll bar in this tree control. | 
| .gif) | IsTopParent | (Inherited from UITestControl.) | 
| .gif) | ItemStatus | (Inherited from WpfControl.) | 
| .gif) | LabeledBy | (Inherited from WpfControl.) | 
| .gif) | Left | (Inherited from UITestControl.) | 
| .gif) | Name | (Inherited from UITestControl.) | 
| .gif) | NativeElement | (Inherited from UITestControl.) | 
| .gif) | Nodes | Gets a collection of all nodes in this tree control. | 
| .gif) | SearchConfigurations | (Inherited from UITestControl.) | 
| .gif) | SearchProperties | (Inherited from UITestControl.) | 
| .gif) | SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | 
| .gif) | State | (Inherited from UITestControl.) | 
| .gif) | TechnologyName | (Inherited from UITestControl.) | 
| .gif) | ToolTipText | (Inherited from WpfControl.) | 
| .gif) | Top | (Inherited from UITestControl.) | 
| .gif) | TopParent | (Inherited from UITestControl.) | 
| .gif) | VerticalScrollBar | Gets the vertical scroll bar in this tree control. | 
| .gif) | Width | (Inherited from UITestControl.) | 
| .gif) | WindowHandle | (Inherited from UITestControl.) | 
| .gif) | WindowTitles | (Inherited from UITestControl.) | 
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace
.gif)