Back to Devexpress

TreeListView.FilteringMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-7a25e929.md

latest2.5 KB
Original Source

TreeListView.FilteringMode Property

Gets or sets how nodes are filtered.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListFilteringMode FilteringMode { get; set; }
vb
Public Property FilteringMode As TreeListFilteringMode

Property Value

TypeDefaultDescription
TreeListFilteringModeNodes

A TreeListFilteringMode enumeration value that specifies how nodes are filtered.

|

Available values:

NameDescription
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.

|

Remarks

Tip

Topic : Filter Nodes

Demo

Run Demo: Data Filtering

Example

View Example: How to Specify Nodes Filter Mode

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace