Search
LinkModifying Event

A validation event raised while the user is modifying a link.

Syntax

JavaScript  Copy Code

function onLinkModifying (sender, args)

Event Data

LinkModifying handlers receive an event object of type LinkEventArgs.

Remarks

This event is raised after each mouse movement while modifying a link. Calling setCancel will change the mouse cursor to DisallowCursor. The event is raised once again when the mouse button is released. setCancel in that case will cancel the modification and return the link to its original state.

The getAdjustmentHandle method gets the index corresponding to the link's control point that is being dragged.

To handle the LinkModifying event, assign the name of the respective JavaScript function (for example 'onLinkModifying') to the LinkModifyingScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
LinkModified Event