GridBand.BandLevel Property

Gets the band’s nesting level.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v21.2.dll


public virtual int BandLevel { get; }

Property Value

Type Description

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


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