![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
NodeCollapsed Event | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : NodeCollapsed Event |
Visual Basic (Declaration) | |
---|---|
<ResDescriptionAttribute("Fires when a node is collapsed.")> Public Event NodeCollapsed As TreeViewPlusNodeCollapsedEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TreeViewPlus Dim handler As TreeViewPlusNodeCollapsedEventHandler AddHandler instance.NodeCollapsed, handler |
C# | |
---|---|
[ResDescriptionAttribute("Fires when a node is collapsed.")] public event TreeViewPlusNodeCollapsedEventHandler NodeCollapsed |
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.
Property | Description |
---|---|
Node | The TreeViewPlusNode associated with the event. |
You can use this event to run cause a method to run whenever the user collapses a node on the tree.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family