Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

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

#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