Skip to main content

TreeListColumn.ColumnIndex Property

Gets the horizontal position of a banded column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
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