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

TreeListOptionsBehavior.ExpandNodesOnFiltering Property

Gets or sets whether the collapsed nodes are automatically expanded if they match the filter criteria.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.1.dll

Declaration

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

Property Value

Type Description
Boolean

true, if the collapsed nodes are automatically expanded if match the filter criteria; otherwise, false.

Property Paths

You can access this nested property as listed below:

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

Remarks

Important

The ExpandNodesOnFiltering setting is in effect only for DevExpress versions 16.2 and older. For newer versions utilize the TreeListOptionsFilter.ExpandNodesOnFiltering property instead.

By default, if the nodes that match the filter criteria are collapsed, they are not automatically expanded. An end-user can manually expand them to make them visible. Set the ExpandNodesOnFiltering property to true to automatically expand the collapsed nodes that match the filter criteria. See the Filtering topic to learn more.

In version 17.1 and newer, Tree List filtering is enabled by default and managed by the TreeListOptionsCustomization.AllowFilter property. For older versions, enable the TreeListOptionsBehavior.EnableFiltering setting.

See Also