Search
LinkDeleting Event

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

Syntax

JavaScript  Copy Code

function onLinkDeleting (sender, args)

Event Data

LinkDeleting handlers receive an event object of type LinkEventArgs.

Remarks

When users delete a node, its connecting links are deleted too. However, in that case LinkDeleting validation events are not raised, but just NodeDeleting.

To handle the LinkDeleting event, assign the name of the respective JavaScript function (for example 'onLinkDeleting') to the LinkDeletingScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
LinkDeleted Event