GridControl.ClearFilter() Method

Clears the filter applied to data in the grid.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Declaration

public void ClearFilter()
Public Sub ClearFilter

Use the ClearFilter method to clear the grid filter, including both column auto filters (GridColumn.AutoFilterValue) and grid filter expression (GridControl.FilterString, GridControl.FilterExpression).

To get a string that specifies the grid's current filter, use the GridControl.ActualFilterString property.

See Also