Tab
A newer version of this page is available. Switch to the current version.

TreeViewNodeCancelEventHandler Delegate

A method that will handle an ASPxTreeView control's cancelable events concerning manipulations with a node.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public delegate void TreeViewNodeCancelEventHandler(
    object source,
    TreeViewNodeCancelEventArgs e
);
Public Delegate Sub TreeViewNodeCancelEventHandler(
    source As Object,
    e As TreeViewNodeCancelEventArgs
)

Parameters

Name Type Description
source Object

An object representing the event source. Identifies the ASPxTreeView control that raised the event.

e TreeViewNodeCancelEventArgs

An TreeViewNodeCancelEventArgs object that contains event data.

Remarks

When creating a TreeViewNodeCancelEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to the event. The event handler is called whenever the event occurs unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also