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

ASPxTreeList.ExpandAll() Method

Expands all nodes.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public void ExpandAll()

Remarks

To expand the specified node, set its TreeListNode.Expanded property to true. To expand a node on the client, use the ASPxClientTreeList.ExpandNode method.

To stop the node from being expanded, handle the ASPxTreeList.NodeExpanding event. Once the node has been expanded, the ASPxTreeList.NodeExpanded event is raised.

For more information, see Expanding and Collapsing Nodes.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ExpandAll() method.

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