Back to Devexpress

GridLevelNode.HasChildren Property

windowsforms-devexpress-dot-xtragrid-dot-gridlevelnode-6ce12f13.md

latest1.4 KB
Original Source

GridLevelNode.HasChildren Property

Gets whether the current node has children

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public bool HasChildren { get; }
vb
Public ReadOnly Property HasChildren As Boolean

Property Value

TypeDescription
Boolean

true if the node has children; otherwise, false.

|

Remarks

The child nodes of a particular node can be accessed via the GridLevelNode.Nodes collection. If this collection is empty, the HasChildren property returns false. Otherwise, true is returned.

See Also

Nodes

GridLevelNode Class

GridLevelNode Members

DevExpress.XtraGrid Namespace