Back to Devexpress

TreeListBand.Level Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistband-10c07691.md

latest2.0 KB
Original Source

TreeListBand.Level Property

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

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
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

TreeList.Bands

TreeListBand.Bands

RootBand

TreeListBand Class

TreeListBand Members

DevExpress.XtraTreeList.Columns Namespace