Property Parent
Parent
Gets the parent tree item of the current item.
[Browsable(false)]
public TreeViewItem? Parent { get; }
Property Value
- TreeViewItem
A TreeViewItem that represents the parent of the current tree item, or
null
if the item is a root.
Remarks
If the tree item is at the root level, the
Parent property returns null
.