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

TreeListOptionsBehavior.EnableFiltering Property

Gets or sets whether nodes can be filtered.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[Browsable(false)]
public virtual bool EnableFiltering { get; set; }

Property Value

Type Description
Boolean

true, to allow nodes to be filtered; otherwise, false. The property’s default value is false in version 16.2 and older. The property’s default value is true in version 17.1 and newer. See Version Compatibility: Default Property Values to learn more.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnableFiltering
WinForms Controls GanttControl
.OptionsBehavior.EnableFiltering
ResourcesTree
.OptionsBehavior.EnableFiltering
TreeList
.OptionsBehavior.EnableFiltering
Reporting XRDesignFieldList
.OptionsBehavior.EnableFiltering
XRDesignReportExplorer
.OptionsBehavior.EnableFiltering

Remarks

For versions 17.1 and newer, this property is considered obsolete and should not be used. Instead, use the TreeListOptionsCustomization.AllowFilter property to prevent end-users from filtering data (filtering in code still remains available).

The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableFiltering property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also