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.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool ExpandNodesOnFiltering { get; set; }
<Browsable(False)>
Public Overridable Property ExpandNodesOnFiltering As Boolean

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 GanttControl
.OptionsBehavior.ExpandNodesOnFiltering
GanttControl
.OptionsBehavior.ExpandNodesOnFiltering
ResourcesTree
.OptionsBehavior.ExpandNodesOnFiltering
TreeList
.OptionsBehavior.ExpandNodesOnFiltering
Reporting XRDesignFieldList
.OptionsBehavior.ExpandNodesOnFiltering
XRDesignFieldList
.OptionsBehavior.ExpandNodesOnFiltering
XRDesignReportExplorer
.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