System.Web.UI.WebControls.TreeView.TreeNodeCollapsed Event

Occurs when a node is collapsed in the System.Web.UI.WebControls.TreeView control.

Syntax

public event TreeNodeEventHandler TreeNodeCollapsed

Remarks

The TreeView.TreeNodeCollapsed event is raised when a node is collapsed in the System.Web.UI.WebControls.TreeView control. This allows you to provide an event-handling method that performs a custom routine whenever this event occurs.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0