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

TreeListSettingsBehavior.ExpandCollapseAction Property

Gets or sets how end-users can expand/collapse nodes.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(TreeListExpandCollapseAction.Button)]
public TreeListExpandCollapseAction ExpandCollapseAction { get; set; }

Property Value

Type Default Description
TreeListExpandCollapseAction **Button**

A TreeListExpandCollapseAction enumeration value that specifies how end-users can expand/collapse nodes.

Available values:

Name Description
Button

A node is expanded/collapsed after its expand button has been clicked.

NodeClick

A node is expanded/collapsed if it has been clicked by an end-user or its expand button has been clicked.

NodeDblClick

A node is expanded/collapsed if it has been double-clicked by an end-user or its expand button has been clicked.

Property Paths

You can access this nested property as listed below:

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