Skip to main content

FilterControl.ApplyFilterCommand Property

Applies the filter criteria to the source control.

Namespace: DevExpress.Xpf.Editors.Filtering

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public ICommand ApplyFilterCommand { get; }

Property Value

Type Description
ICommand

A command that implements the ICommand interface.

Remarks

Corresponding method: FilterControl.ApplyFilter

Example

The code sample below shows the FilterControl. The Apply Filter button with the ApplyFilterCommand command allows you to apply filter criteria specified in the FilterControl to a bound control.

<dxe:FilterControl x:Name="control" />
<!-- -->
<Button Content="Apply Filter" Command="{Binding ElementName=control, Path=ApplyFilterCommand}"/>
See Also