Search
NodeDeleting Event

Raised when the user tries to delete a node, this event lets you cancel the operation.

Syntax

JavaScript  Copy Code

function onNodeDeleting (sender, args)

Event Data

NodeDeleting handlers receive an event object of type NodeEventArgs.

Remarks

When the user deletes a node, the links connected to it are deleted too. However, the LinkDeleting validation event is not raised in that case.

To handle the NodeDeleting event, assign the name of the respective JavaScript function (for example 'onNodeDeleting') to the NodeDeletingScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
NodeDeleted Event