TreeListBand.Level Property
In This Article
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
#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