Collapse

This event occurs when a user collapses a Node object in a TreeView control.

Syntax

Private Sub treeview_Collapse(index)

Parameters

treeview
Object expression that evaluates to a TreeView control.
index
Index of the collapsed Node object.

Remarks

The Collapse event occurs before the standard Click event. There are three ways to collapse a Node object: