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