Skip to main content

ASPxTreeList.ExpandAll() Method

Expands all nodes.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v22.1.dll


public void ExpandAll()


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.

See Also