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.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
#Members
Name | Description |
---|---|
Default
|
Equivalent to ‘Parent |
Parents
|
Shows nodes if they and all their parents match the filter. If a node fits the filter but any of its parents does not, the node is not displayed. |
Matches
|
Shows only those nodes that match the filter. If a node is collapsed, its children are hidden even if they match the current filter. Enable the Tree |
Parent
|
Shows nodes that match the filter along with the nodes’ parents (even if they do not fit the filter). |
Entire
|
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 ‘Parents |
Smart
|
The same as the ‘Matches’ option. |
Extended
|
The same as the ‘Parent |
#Related API Members
The following properties accept/return FilterMode values:
#Remarks
This type is used to specify the TreeList.OptionsFilter.FilterMode property.
Use the TreeList.OptionsCustomization.AllowFilter property to allow users to filter nodes.