TreeListView.ExpandAllNodes() Method

Expands all nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public void ExpandAllNodes()


To expand a node, use the TreeListView.ExpandNode method. To collapse the specified node or all nodes, use the TreeListView.CollapseNode or TreeListView.CollapseAllNodes method, respectively.

Set the TreeListView.AutoExpandAllNodes property to true to expand all nodes automatically when the TreeListView is being loaded.

See Also