DataGridView.ClearFilter() Method
Clears the filter applied to data in the grid.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public void ClearFilter()
Remarks
Use the ClearFilter
method to clear the grid filter (DataGridView.FilterString, DataGridView.FilterExpression).
To reset a filter for a specific column, you can call the DataGridView.ClearColumnFilter and DataGridView.ClearColumnAutoFilter methods.
To get a string that specifies the grid’s current filter, use the DataGridView.ActualFilterString property.
See Also