WpfTreeItem Properties

Include Protected Members
Include Inherited Members

The WpfTreeItem type exposes the following members.

Properties

  Name Description
Public property AcceleratorKey Gets the shortcut key that is assigned to this control. (Inherited from WpfControl.)
Public property AccessKey Gets the keyboard shortcut that is assigned to this control. (Inherited from WpfControl.)
Public property AutomationId Gets the automation ID that is assigned to this control. (Inherited from WpfControl.)
Public property BoundingRectangle Gets the Bounding rectangle for this control. (Inherited from UITestControl.)
Public property ClassName Gets the class name for this control. (Inherited from UITestControl.)
Public property Container Gets or sets the container of this UITestControl. (Inherited from UITestControl.)
Public property ControlType Gets the type of the UI Control. (Inherited from UITestControl.)
Public property Enabled Gets a value that indicates whether this control is enabled. (Inherited from UITestControl.)
Public property Exists Gets a value that indicates whether this control exists on the user interface. (Inherited from UITestControl.)
Public property Expanded Gets a value that indicates whether this tree item is expanded.
Public property FilterProperties Gets the property-value pair collection that is used to disambiguate a control. (Inherited from UITestControl.)
Public property Font Gets the name of the font for textual parts of this control. (Inherited from WpfControl.)
Public property FriendlyName Gets the name of this control to use in the user interface. (Inherited from UITestControl.)
Public property HasChildNodes Gets a value that indicates whether this tree item has child nodes.
Public property HasFocus Gets a value that indicates whether this control currently has the focus in the user interface. (Inherited from UITestControl.)
Public property Header Gets the header text for this tree item control.
Public property Height Gets height of the control. (Inherited from UITestControl.)
Public property HelpText Gets the help text that is assigned to this control. (Inherited from WpfControl.)
Public property IsTopParent Gets a value that indicates whether this control is the top-level element. (Inherited from UITestControl.)
Public property ItemStatus (Inherited from WpfControl.)
Public property LabeledBy Gets the label text of this control. (Inherited from WpfControl.)
Public property Left Gets the x-coordinate of the left edge of the control. (Inherited from UITestControl.)
Public property Name Gets the name of this control. (Inherited from UITestControl.)
Public property NativeElement Gets the native technology element that corresponds to this control. (Inherited from UITestControl.)
Public property Nodes Gets a collection of all child nodes in this tree item control.
Public property ParentNode Gets the parent node of this tree item control.
Public property SearchConfigurations Gets or sets search configurations. (Inherited from UITestControl.)
Public property SearchProperties Gets the property-value pair collection that is used to identify a control. (Inherited from UITestControl.)
Protected property SearchPropertiesSetExplicitly Gets a value that indicates whether the search properties for this control were set by the user in the user interface. (Inherited from UITestControl.)
Public property Selected Gets a value that indicates whether this tree item control is selected.
Public property State Gets the state of the control. (Inherited from UITestControl.)
Public property TechnologyName Gets or sets the technology framework that implements this control. (Inherited from UITestControl.)
Public property ToolTipText (Inherited from WpfControl.)
Public property Top Gets the x-coordinate of the top edge of the control. (Inherited from UITestControl.)
Public property TopParent Gets the top-level parent of this control. (Inherited from UITestControl.)
Public property Width Gets width of the control. (Inherited from UITestControl.)
Public property WindowHandle Gets the window handle for this control. (Inherited from UITestControl.)
Public property WindowTitles Gets a collection of the window titles of the top-level window. (Inherited from UITestControl.)

Top

See Also

Reference

WpfTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace