Skip to main content
A newer version of this page is available. .

GridCommands.ClearFilter Property

Clears the grid’s filter expression.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public static RoutedCommand ClearFilter { get; }

Property Value

Type Description
RoutedCommand

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

Remarks

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

See Also