Skip to main content

GridColumn.AbsoluteIndex Property

Gets or sets the column’s position within the View’s column collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v22.1.dll


public int AbsoluteIndex { get; set; }

Property Value

Type Description

An integer value representing the zero-based column index within the collection.


Use the property to obtain the column’s position within the ColumnView.Columns collection or to move it to a new position. Note that this doesn’t affect the column’s visible position within the View. See the GridColumn.VisibleIndex, GridBandColumnCollection.MoveTo and AdvBandedGridView.SetColumnPosition members description for details on changing the visual order of columns in different View types.

You can access a column by its absolute index via the View’s ColumnView.Columns collection. Absolute indexes are also returned by the column collection’s GridColumnCollection.IndexOf method.

See Also