Skip to main content

GridBand.BandLevel Property

Gets the band’s nesting level.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[Browsable(false)]
public virtual int BandLevel { get; }

Property Value

Type Description
Int32

An integer value representing the band’s zero-based nesting level.

Remarks

Bands can be organized in a tree-like structure. Root bands are contained within the View’s BandedGridView.Bands collection. The BandLevel property for these bands returns 0. Each band can contain child bands that are stored within its GridBand.Children property. The BandLevel property of a root band’s immediate children returns 1, etc.

Refer to the Banded Grid Views help topic for details on band arrangement.

See Also