Collapse Event
Description
Generated when any Node object in a TreeView control is collapsed.
Syntax
Public Event Collapse( _
ByVal Node As TreeViewNode _
)
Parameters
- Node: A reference to the clicked TreeViewNode object.
Remarks
The Collapse event occurs before the standard Click event.
There are three methods of collapsing a Node: - By setting the Node object's Expanded property to False. - By double-clicking a Node object. - By clicking a plus/minus image when the TreeView control's Style property is set to a style that includes plus/minus images.
All of these methods generate the Collapse event.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.