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.Index Property

Gets the index of the current band within the owning collection.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

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

#Property Value

Type Description
Int32

-1, if the band has no owning collection; otherwise, a zero-based index that specifies the band’s position within the owning collection.

#Remarks

A band can be contained within the TreeList.Bands collection, within another band’s TreeListBand.Bands collection, or it can have no owning collection.

See Also