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

TreeListBand.Level Property

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

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

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

#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