TreeListBand.Level Property

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

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
public virtual int Level { get; }
<Browsable(False)>
Public Overridable ReadOnly Property Level As Integer

Property Value

Type Description
Int32

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

Remarks

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