FilterMode Enum
Provides members that specify how to filter nodes depending on their parent nodes.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v19.1.dll
Declaration
Members
Name | Description |
---|---|
Default
|
The same as:
For version 16.1 and older, the default is Standard. See Version Compatibility: Default Property Values for details. |
Standard
|
Nodes that match the applied filter are only displayed if their parent nodes also fit the filter. If a node fits the filter but any of its parent nodes does not, the node is not displayed. |
Smart
|
Nodes that match the applied filter are displayed regardless of whether their parent nodes fit the filter. Unlike the Extended mode, parent nodes that do not match the filer are not displayed. |
Extended
|
Nodes that match the applied filter are displayed regardless of whether their parent nodes fit the filter. Unlike the Smart mode, if a node matches the applied filter, all its parent nodes are also displayed even if they do not fit the filter. |
Related API Members
The following properties accept/return FilterMode values:
Remarks
The TreeList.OptionsFilter property provides access to options specify to the filtering functionality. The TreeList.OptionsFilter.FilterMode (see TreeListOptionsFilter.FilterMode) property of the FilterMode type specifies whether to show nodes that match the current filter depending on their parent nodes.
Note
Version Compatibility To enable filtering:
- for version 17.1, use the TreeListOptionsCustomization.AllowFilter property (enabled by default);
- for older versions, use the TreeListOptionsBehavior.EnableFiltering property.
For more information, see Version Compatibility: Default Property Values.