ColumnView.ClearColumnsFilter() Method
Removes any filter conditions applied to the View’s columns.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v20.2.dll
NuGet Package: DevExpress.Win.Grid
Declaration
Remarks
The ClearColumnsFilter method clears the filter conditions applied to the View’s columns.
If the filter criteria only needs to be temporarily disabled set the ColumnView.ActiveFilterEnabled property to false. To get the current filter criteria, use the ColumnView.ActiveFilter property.
Refer to the Filter and Search topic for more information.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ClearColumnsFilter() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.