TreeListOptionsFilter.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

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

Property Value

Type Default Description
Boolean

false

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

Remarks

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