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

FilterMode Enum

Enumerates modes that specify whether to show only the filtered nodes or also show their parent and child nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

NuGet Package: DevExpress.Win.TreeList

Declaration

public enum FilterMode

Members

Name Description
Default

Equivalent to ‘ParentBranch’ mode for the TreeList control. Equivalent to ‘Matches’ mode for the TreeListLookUpEdit control.

ParentsMatch

Shows nodes if they and all their parents match the filter.

TreeList_FilterMode_Standard

If a node fits the filter but any of its parents does not, the node is not displayed.

TreeList_FilterMode_Standard2

Matches

Shows only those nodes that match the filter.

TreeList_FilterMode_Smart

ParentBranch

Shows nodes that match the filter along with the nodes’ parents (even if they do not fit the filter).

TreeList_FilterMode_Extended

EntireBranch

Shows nodes that match the filter along with the nodes’ parents and children (even if they do not fit the filter).

Standard

The same as the ‘ParentsMatch’ option.

Smart

The same as the ‘Matches’ option.

Extended

The same as the ‘ParentBranch’ option.

Related API Members

The following properties accept/return FilterMode values:

Remarks

This type is used to specify the TreeList.OptionsFilter.FilterMode property.

Note

Use the following properties to allow users to filter nodes:

For more information, see Version Compatibility: Default Property Values.

See Also