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

BandedGridColumn.ColVIndex Property

Gets or sets the column’s visible state and position within a band row.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

[Browsable(false)]
public int ColVIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the column’s zero-based index among the visible columns in a band row. -1 if the column is invisible.

Remarks

In contrast to the column’s BandedGridColumn.VisibleIndex property that specifies the column’s visible position among all the visible columns within a view, the ColVIndex property specifies the column’s visible position within a band row.

Note that the ColVIndex property cannot be set to a value less than -1 or greater than the number of currently visible columns in a band row. When assigning a value outside these bounds, the value is automatically set to -1 or the last available index.

See Also