Skip to main content

TreeListSettingsBehavior.ExpandCollapseAction Property

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

Namespace: DevExpress.Web.ASPxTreeList

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

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:

Object Type Path to ExpandCollapseAction
ASPxTreeList
.SettingsBehavior .ExpandCollapseAction
See Also