Back to Devexpress

GridCommands.ClearFilter Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcommands-ec998655.md

latest1.4 KB
Original Source

GridCommands.ClearFilter Property

Clears the grid’s filter expression.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public static RoutedCommand ClearFilter { get; }
vb
Public Shared ReadOnly Property ClearFilter As RoutedCommand

Property Value

TypeDescription
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

GridCommands Class

GridCommands Members

DevExpress.Xpf.Grid Namespace