[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Expand]Editor Types
   [Collapse]Common Features
    [Expand]Obtaining Editor Values
    [Expand]Binding to Data
     In-Place Mode
    [Expand]Editor Operation Modes
    [Expand]Masked Input
    [Expand]Input Validation
     Incremental Search
     Filtering
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Filtering

ListBoxEdit and LookUpEditBase (see LookUpEditBase) descendants (ComboBoxEdit, LookUpEdit, FontEdit) provide built-in data filtering functionality. This topic describes the approaches to configure this feature.

Expanded Filter Values With Filter Criteria

ListBoxEdit and LookUpEditBase (see LookUpEditBase) descendant editors can apply filter criteria to the bound collection, which prevents the display and selection of specific items.

Expanded Incremental Filtering

The LookUpEditBase (see LookUpEditBase) descendant editors can automatically filter drop-down items based on entered text.

To enable this mode, set the LookUpEditBase.IncrementalFiltering or LookUpEditSettingsBase.IncrementalFiltering property to true. Set the FilterCondition (see LookUpEditBase.FilterCondition) and IsCaseSensitiveFilter (see LookUpEditBase.IsCaseSensitiveFilter) properties to change the applied filter condition.

Note

When the editor's LookUpEditBase.DisplayMember/LookUpEditBase.ValueMember properties are defined, an end-user can select only objects from the ItemsSource collection. To allow end-users to type in the edit box, set the LookUpEditBase.AutoComplete property to true and/or BaseEdit.ValidateOnTextInput property to false.

Expanded Substitute Display Filter

Incremental filtering works with the displayed values of data items (defined by the DisplayMember property value). If the DisplayMember property is null or empty, a filter condition is applied to the entire item.

LookUpEditBase (see LookUpEditBase) descendant editors allow you to customize an applied filter condition, for example, to filter by the value member instead of the displayed member. Handle the SubstituteDisplayFilter (see LookUpEditBase.SubstituteDisplayFilter) event to do this.

Expanded See Also

Is this topic helpful?​​​​​​​