GridColumnCollection.Remove(GridColumn) Method

Removes the specified column from the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v21.2.dll

Declaration

public virtual void Remove(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

A GridColumn object representing the column to be removed.

Remarks

The code below removes the currently focused column.

gridView1.Columns.Remove(gridView1.FocusedColumn);
See Also