TreeListBand.Index Property

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

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
public int Index { get; }
<Browsable(False)>
Public ReadOnly Property Index As Integer

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