Skip to main content

GridView.ResetAutoFilterCondition(GridColumn) Method

Resets the specified column’s auto filter row condition to its default value.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public virtual void ResetAutoFilterCondition(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

A GridColumn object that specifies the grid column whose auto filter row condition are to be reset.

Remarks

Use the ResetAutoFilterCondition(GridColumn), ResetAutoFilterConditions(IEnumerable<GridColumn>), and ResetAutoFilterConditions() methods to reset auto filter row conditions.

using DevExpress.XtraGrid.Columns;

// Reset the Phone column's auto filter row condition.
gridView1.ResetAutoFilterCondition(colPhone);
// Reset the Phone and Fax columns' auto filter row conditions.
gridView1.ResetAutoFilterConditions(new GridColumn[] { colPhone, colFax });
// Reset all columns' auto filter row conditions.
gridView1.ResetAutoFilterConditions();
See Also