FilterEditorCommands Class

Provides access to the FilterEditorControl's commands.

Namespace: DevExpress.Xpf.Core.FilteringUI

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

Declaration

public class FilterEditorCommands :
    ImmutableObject
Public Class FilterEditorCommands
    Inherits ImmutableObject

Related API Members

The following members accept/return FilterEditorCommands objects:

Remarks

Example

The code sample below shows the FilterEditorControl bound to the GridControl. The ApplyFilterButton with the FilterEditorCommands.ApplyFilter command allows you to apply filter criteria specified in the FilterEditorControl to the GridControl.

<dxfui:FilterEditorControl x:Name="filterEditor" Context="{Binding Path=FilteringContext, ElementName=filterGrid}"/>
<!-- ... -->
<Button Name="ApplyFilterButton" Content="Apply Filter" Command="{Binding Commands.ApplyFilter, ElementName=filterEditor}" />
<!-- ... -->
<dxg:GridControl x:Name="filterGrid" ... />

Inheritance

Object
DevExpress.Utils.ImmutableObject
FilterEditorCommands
See Also