Skip to main content

TreeListColumn.ColumnIndex Property

Gets the horizontal position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList


public virtual int ColumnIndex { get; }

Property Value

Type Description

The zero-based index that specifies the column position within the band.


If no band owns a column, the ColumnIndex property returns -1.

If the TreeListOptionsView.AllowBandColumnsMultiRow option is enabled, the ColumnIndex property specifies the column’s index within the row where this column resides.

See Also