Skip to main content

TreeListBand.Level Property

Gets the nesting level of the current band in the band hierarchy.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v21.2.dll


public virtual int Level { get; }

Property Value

Type Description

A zero-based value that specifies the band’s nesting level.


A TreeList control allows you to arrange bands into a hierarchical structure. The TreeList.Bands property provides access to bands residing at the root hierarchical level. For these bands, the Level property returns 0. For the root band’s child bands (they can be accessed via the root band’s TreeListBand.Bands property) the Level value equals to 1 and, so on.

See Also