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


public virtual bool ExpandNodesOnFiltering { get; set; }
Public Overridable Property ExpandNodesOnFiltering As Boolean

Property Value

Type Default Description


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
Reporting XRDesignFieldList


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