TreeListView.ExpandAllNodes() Method

Expands all nodes.

Namespace: DevExpress.Xpf.Grid

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


public void ExpandAllNodes()
Public Sub 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