WPF Data Filtering

Download Free Trial

Our new WPF Filter Editor ships with a redesigned UX designed to simplify usage and engineered to simplify field and operator selection.

At present, the WPF Filter Editor supports:

  • WPF Data Grid and Tree List (v18.2+)
  • WPF Pivot Grid (v19.1+)

A New Design

Based on user feedback, we've enhanced the look & feel of our Filter Editor and made it much more intuitive.

WPF Filter Editors, DevExpress

Fields

The DevExpress WPF Filter Editor ships with improved field selection options. An integrated search box allows you to quickly locate required fields. If your Data Grid includes Bands, our WPF Filter Editor displays fields hierarchically.

Fields - WPF Filter Editor, DevExpress

In addition, you can now use the FilterEditorControl.QueryFields event to customize the field list. The following demo illustrates how to add ShipCountry, ShipCity, ShipAddress to the Ship category.

Demo: Customize the Field List
Requires installation of WPF Subscription v19.1. Download

Field Customization - WPF Filter Editor, DevExpress

Operators

Our new WPF Filter Editor allows you to customize its operator list (via the FilterEditorControl.QueryOperators event). The following demo illustrates how you can remove all operators except Equal and Does not equal, and add a custom operator as needed (in this example, we've created a new operator called Last Years).

Demo: Customize the Operator List
Requires installation of WPF Subscription v19.1. Download

Operator Customization - WPF Filter Editor, DevExpress

You can also specify Predefined Filters. Our WPF Filter Editor displays these filters within the Predefined filters submenu.

Predefined Filters - WPF Filter Editor, DevExpress

Filter Values

The DevExpress WPF Filter Editor makes it easier to specify filter values. You can select unique values from the data source to configure a filter. Each value in the list displays a quantity.

Filter Values - WPF Filter Editor, DevExpress

You can sort these values to locate the appropriate record.

Sort Filter Values - WPF Filter Editor, DevExpress

The WPF Filter Editor automatically creates operand editors based on field and operator type. You can now use the OperandTemplate to customize these operand editors. The following demo illustrates how to specify the TrackBarEdit as an operand for Between and Not Between operators.

Demo: Customize Operands
Requires installation of WPF Subscription v19.1. Download

Customize Operands - WPF Filter Editor, DevExpress

Customizations

The WPF Filter Editor supports numerous customization options:

We're not done yet...

You can use our new WPF Filter Editor to filter values displayed within DevExpress data-bound controls (for example, Charts and Data Editors). Use the FilterBehavior to create a CriteriaOperator object. Then assign this object to your data-bound control's filter criteria or use it to filter your data in code.

Demo: Filter Behavior
Requires installation of WPF Subscription v19.1. Download

Filter Behavior - WPF Filter Editor, DevExpress

What's Next for the DevExpress WPF Filter Editor

We are committed to extending the capabilities of our WPF Filter Editor. The following features are planned and expected to ship later this year.

  • Server Mode and Virtual Source support.
  • Operand editors will work with fields and functions.
  • Support for Aggregate operations ("Accounts.Sum(Amount) < 100").