TreeListColumn.ColumnIndex Property

Gets the horizontal position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll


public virtual int ColumnIndex { get; }
Public Overridable ReadOnly Property ColumnIndex As Integer

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