Collapse(Node: Integer; [Recursively: Boolean = False]);
Node. Node, for which children hierarchy is collapsed.
Recursively. It determines whether children hierarchy is recursively collapsed. If the parameter is set to True, the entire children hierarchy is collapsed. If the parameter is set to False, the selected element hierarchy is collapsed only.
The Collapse method collapses the tree children hierarchy.
See also: