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