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

ASPxTreeView.ShowExpandButtons Property

Gets or sets a value that specifies whether expand buttons are displayed within the ASPxTreeView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(true)]
public bool ShowExpandButtons { get; set; }

Property Value

Type Default Description
Boolean **true**

true if expand buttons are displayed; otherwise, false.

Remarks

Use the ShowExpandButtons property to control the visibility of expand buttons within the ASPxTreeView. To hide them, set the ShowExpandButtons to false.

TreeView - ShowExpandCollapseButton

If the buttons are hidden, you can expand/collapse a node by double-clicking it, or programmatically, using the TreeViewNode.Expanded property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowExpandButtons property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also