Skip to main content

TreeListNodes.ParentNode Property

Gets the parent of the node collection.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[DefaultValue(null)]
public TreeListNode ParentNode { get; }

Property Value

Type Default Description
TreeListNode null

A TreeListNode instance that represents the parent of the node collection.

Remarks

If the node collection is at the root level, the ParentNode property returns null.

See Also