method Node.CollapseAll ()
Collapses all the child nodes.

TypeDescription
Use the CollapseAll method to collapse all child nodes. Use the ExpandAll method to expand all child nodes. 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.