Skip to main content

TreeListView.CollapseAllNodes() Method

In This Article

Collapses all nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.dll

#Declaration

public void CollapseAllNodes()

#Remarks

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

To learn more, see Expanding and Collapsing Nodes .

See Also