Back to Devexpress

ColumnView.ClearColumnsFilter() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-431c8084.md

latest2.0 KB
Original Source

ColumnView.ClearColumnsFilter() Method

Removes any filter conditions applied to the View’s columns.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public virtual void ClearColumnsFilter()
vb
Public Overridable Sub ClearColumnsFilter

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.

See Also

ActiveFilter

ActiveFilterEnabled

ApplyColumnsFilter()

Filter and Search

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace