Skip to main content
A newer version of this page is available. .

TreeListFilteringMode Enum

Lists the values that specify the TreeListView.FilteringMode property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public enum TreeListFilteringMode

Members

Name Description
Nodes

(Default)

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

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

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

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

Related API Members

The following properties accept/return TreeListFilteringMode values:

Remarks

Tip

Topic: Filter Nodes

Demo

Run Demo: Data Filtering

Example

View Example: How to Specify Nodes Filter Mode

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TreeListFilteringMode enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also