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

TreeListSettingsBehavior.AutoExpandAllNodes Property

Gets or sets whether all nodes displayed within the ASPxTreeList are automatically expanded when the ASPxTreeList is being loaded.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AutoExpandAllNodes { get; set; }

Property Value

Type Default Description
Boolean **false**

true to expand all nodes when the ASPxTreeList is being loaded; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AutoExpandAllNodes
ASP.NET Controls and MVC Extensions ASPxTreeList
.SettingsBehavior .AutoExpandAllNodes
ASP.NET MVC Extensions MVCxTreeList
.SettingsBehavior .AutoExpandAllNodes
TreeListSettings
.SettingsBehavior .AutoExpandAllNodes
TreeListSettings<RowType>
.SettingsBehavior .AutoExpandAllNodes

Remarks

If the AutoExpandAllNodes property is set to true, all nodes that have children are automatically expanded when the ASPxTreeList is being loaded.

See Also