Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridBand.RootBand Property

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

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
public virtual GridBand RootBand { get; }

#Property Value

Type Description
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.

GridBand_RootBand

See Also