Skip to main content

GridCommands.ClearFilter Property

Clears the grid’s filter expression.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public static RoutedCommand ClearFilter { get; }

Property Value

Type Description

A RoutedCommand object that defines a command implementing the ICommand, and is routed through the element tree.


To clear the filter in code, set the DataControlBase.FilterString property to an empty string.

See Also