Delen via


TreeViewNode.Parent Property

Definition

Gets or sets the node that is the parent of the current node.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewNode.Parent (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

TreeViewNode Parent();
public TreeViewNode Parent { get; }
var treeViewNode = treeViewNode.parent;
Public ReadOnly Property Parent As TreeViewNode

Property Value

The node that is the parent of the current node.

Applies to