TreeListColumn.ColumnIndex Property

Gets the horizontal position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

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