Skip to main content
A newer version of this page is available. .

TreeListColumn.ColumnIndex Property

Gets the horizontal position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

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

Property Value

Type Description
Int32

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

Remarks

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