TreeListOptionsFilter.FilterMode Property

Gets or sets whether to show only the filtered nodes or also show their parent and child nodes. Additionally, you can enable the ExpandNodesOnFiltering property to automatically expand filtered nodes.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(FilterMode.Default)]
[XtraSerializableProperty]
public virtual FilterMode FilterMode { get; set; }
<DefaultValue(FilterMode.Default)>
<XtraSerializableProperty>
Public Overridable Property FilterMode As FilterMode

Property Value

Type Default Description
FilterMode

Default

A FilterMode enumeration value that specifies how filtered nodes are shown.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to FilterMode
WinForms Controls GanttControl
.OptionsFilter.FilterMode
ResourcesTree
.OptionsFilter.FilterMode
ResourcesTree
.OptionsFilter.FilterMode
TreeList
.OptionsFilter.FilterMode
Reporting XRDesignFieldList
.OptionsFilter.FilterMode
XRDesignReportExplorer
.OptionsFilter.FilterMode

Remarks

This property specifies whether to show only the filtered nodes or also show the parent and child nodes. You can also hide nodes that have parent nodes that do not match the filter criteria. See FilterMode for more information.

NOTE

Use the following properties to allow users to filter nodes:

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

See Also