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

GridColumnCollection.Insert(Int32, GridColumn) Method

Inserts the specified column at the specified position.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public void Insert(
    int index,
    GridColumn column
)

Parameters

Name Type Description
index Int32

A zero-based integer specifying the column’s position within the collection. If the specified index is negative or greater than or equal to the number of columns in the collection, an exception will be thrown.

column GridColumn

A GridColumn object to be added to the collection.

See Also