Gets the parent tree node of the current tree node.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
If the tree node is at the root level, theproperty returns null.
The following code example displays the Text and Index property values of the TreeNode represented by the property of the TreeView.SelectedNode. This example requires that you have a Form with a TreeView control on it. The TreeView should have at least two root nodes, each having at least one child node.
Available since 1.1