Microsoft SDK for Java

TreeView.collapseAll

Collapses all root nodes in the tree view control.

Syntax

public void collapseAll()

Remarks

If you call the expandAll method after calling the collapseAll method, any lower-level roots that were originally expanded will again be expanded.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.