System.Windows.Forms.TreeView.BeforeCollapse Event

Occurs before the tree node is collapsed.

Syntax

public event TreeViewCancelEventHandler BeforeCollapse

Remarks

For more information about how to handle events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0