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




Event that is called when a node is about to be removed.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires when a node is about to be removed.")>
Public Event NodeRemoving() As TreeViewPlusNodeRemovingEventHandler
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim handler As TreeViewPlusNodeRemovingEventHandler
 
AddHandler instance.NodeRemoving, handler
C# 
[ResDescriptionAttribute("Fires when a node is about to be removed.")]
public event TreeViewPlusNodeRemovingEventHandler NodeRemoving()

Remarks

You can set the Cancel property to true in an event handler to prevent the node from being removed.

See Also

© 2010 All Rights Reserved.