[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
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Views
   [Collapse]Grid View Data Layout
    [Expand]Columns and Card Fields
    [Expand]Bands
    [Expand]Rows and Cards
    [Collapse]Nodes
      Nodes Overview
      Iterate Through Nodes
      Expand and Collapse Nodes
      Obtain Nodes
      Check Nodes
      Sort Nodes
      Filter Nodes
      Move Nodes
     Data Cells
     Best Fit
     Column Chooser
     Compact Mode
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Expand]Data Editing and Validation
   [Expand]Grouping
   [Expand]Filtering and Searching
   [Expand]Sorting
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus, Navigation, Selection
   [Expand]Drag-and-Drop
   [Expand]Conditional Formatting
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]Miscellaneous
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [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
  [Expand]Data Editors
  [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)

Filter Nodes

You can filter nodes in the TreeListView in the same way as rows in the TableView. Refer to the Filtering and Searching section for more information.

Tip

Demo: Data Filtering

Requires installation of WPF Subscription. Download

Expanded Filter Modes

Use the TreeListView.FilteringMode property to specify how nodes are filtered.

Nodes Mode (Default)

Set the TreeListView.FilteringMode property to TreeListFilteringMode.Nodes to enable Nodes mode.

The TreeListView displays only nodes that meet the filter criteria. A node at the hierarchy's highest level that meets the filter criteria becomes the root node. The node's nearest child that meets the filter criteria changes the hierarchy level to the next level down from the root.

ParentBranch Mode

Set the TreeListView.FilteringMode property to TreeListFilteringMode.ParentBranch to enable ParentBranch mode.

The TreeListView displays a node that meets the filter criteria and all its parent nodes, even if they do not meet the filter criteria.

EntireBranch Mode

Set the TreeListView.FilteringMode property to TreeListFilteringMode.EntireBranch to enable EntireBranch mode.

The TreeListView displays a node that meets the filter criteria and all its parent and child nodes, even if they do not meet the filter criteria.

Recursive Mode

Set the TreeListView.FilteringMode property to TreeListFilteringMode.Recursive to enable Recursive mode.

The TreeListView displays a node that meets the filter criteria only if its parent nodes also meet the filter criteria.

Expanded See Also

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