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

Declaration

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

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:

Object Type Path to AutoExpandAllNodes
ASPxTreeList
.SettingsBehavior.AutoExpandAllNodes
MVCxTreeList
.SettingsBehavior.AutoExpandAllNodes
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