Back to Devexpress

GridLevelNode.IsRootLevel Property

windowsforms-devexpress-dot-xtragrid-dot-gridlevelnode-a9ec158f.md

latest1.6 KB
Original Source

GridLevelNode.IsRootLevel Property

Gets whether the current node is the root node.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public virtual bool IsRootLevel { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property IsRootLevel As Boolean

Property Value

TypeDescription
Boolean

true if the current node is the root node; otherwise, false.

|

Remarks

The root node isn’t owned by any other node and therefore it’s GridLevelNode.Parent property returns null.

For the node referred to by the GridControl.LevelTree member the IsRootLevel property returns true. For all its child nodes, false is returned.

See Also

Parent

GridLevelNode Class

GridLevelNode Members

DevExpress.XtraGrid Namespace