[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Feature Center
    [Expand]Data Binding
    [Expand]Nodes
    [Expand]Data Editing
    [Expand]Data Presentation
    [Expand]Sorting
    [Collapse]Filtering
      Filtering in Code
      Classic Style
      Excel Style
      Pop-up Filter Menus
    [Expand]Summaries
    [Expand]Appearances and Look And Feel
    [Expand]Focus, Selection and Navigation
     Formatting Cell Values
    [Expand]Miscellaneous
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End User Capabilities
   [Expand]Member Tables
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[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)

Pop-up Filter Menus

Expanded Overview

The Filter Button in a column header invokes a pop-up filter menu.

Note

Run the XtraTreeList demo to try out pop-up filter menus.

To disable pop-up filter menus, use the TreeListOptionsCustomization.AllowFilter property. To disable this feature for a particular column, use the TreeListOptionsColumnFilter.AllowFilter property.

To invoke a pop-up filter menu in code, use the TreeList.ShowFilterPopup method. The TreeList.ColumnFilterChanged event fires when a column's filter changes.

Expanded Styles: Excel and Classic

Pop-up filter menus support two styles:

  • Excel — the menu contains two tab: a value checklist and data-specific . See Excel Style for more information.

  • Classic — the menu contains a value list or a calendar depending on the data type. See Classic Style for more information.

To specify the menu style:

Expanded Filter Modes

The TreeListOptionsFilter.FilterMode property specifies whether to show only the filtered nodes or also show their parent and child nodes. You can also hide nodes that have parents that do not match the filter criteria. The following modes are available:

Mode

Description

FilterMode.Default

Smart, if the TreeList is contained in a TreeListLookUpEdit; Extended, otherwise (Standard for version 16.1 and older).

FilterMode.Extended

Shows parent nodes that do not fit the filter.

FilterMode.Smart

Does not show parent nodes that do not fit the filter.

FilterMode.EntireBranch

Shows parent and child nodes that do not fit the filter.

FilterMode.Standard

Nodes that match the applied filter are only displayed if their parent nodes also fit the filter.

If a node fits the filter, but any of its parent nodes do not, the node is not displayed.

Note

Try out filter modes on the Filter Options tab in the XtraTreeList demo.

Expanded See Also

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