GridColumnCollection.Insert(Int32, GridColumn) Method
In This Article
Inserts the specified column at the specified position.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#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 | Grid |
A Grid |
See Also