Back to Devexpress

GridBand.RootBand Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-e8f75095.md

latest2.3 KB
Original Source

GridBand.RootBand Property

Gets the root band that is the current band’s parent.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
GridBand

A GridBand object representing the root band in the current band’s hierarchy branch.

|

Remarks

Root bands are stored within the View’s BandedGridView.Bands collection. These bands are at the top of hierarchy and thus, have no parent. Their GridBand.ParentBand property value is null ( Nothing in Visual Basic).

The image below illustrates root bands.

See Also

HasChildren

Children

ParentBand

BandLevel

Banded Grid Views

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace