ESRI.ArcGIS.ADF.Web.UI.WebControls
NodeCollapsed Event
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : NodeCollapsed Event




Event that is called when a node is collapsed on the tree.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires when a node is collapsed.")>
Public Event NodeCollapsed() As TreeViewPlusNodeCollapsedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim handler As TreeViewPlusNodeCollapsedEventHandler
 
AddHandler instance.NodeCollapsed, handler
C# 
[ResDescriptionAttribute("Fires when a node is collapsed.")]
public event TreeViewPlusNodeCollapsedEventHandler NodeCollapsed()

Event Data

The event handler receives an argument of type TreeViewPlusNodeEventArgs containing data related to this event. The following TreeViewPlusNodeEventArgs properties provide information specific to this event.

PropertyDescription
Node The TreeViewPlusNode associated with the event.

Remarks

You can use this event to run cause a method to run whenever the user collapses a node on the tree.

See Also

© 2010 All Rights Reserved.