Use the CollapseAll method to collapse all nodes in the
control. Use the ExpandAll method to
expand all nodes in the control. Use the Expanded
property to expand or collapse a node. Use the ExpandAll
method to expand all child nodes. Use the CollapseAll
method to collapse all child nodes.