Share via


WpfTreeItem.ParentNode Property

Gets the parent node of this tree item control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ParentNode As UITestControl
public virtual UITestControl ParentNode { get; }
public:
virtual property UITestControl^ ParentNode {
    UITestControl^ get ();
}
abstract ParentNode : UITestControl with get 
override ParentNode : UITestControl with get
function get ParentNode () : UITestControl

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The parent node of this tree item control.

.NET Framework Security

See Also

Reference

WpfTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace

UITestControl