Search
NodeModifying Event

A validation event raised while the user is moving or resizing a node.

Syntax

JavaScript  Copy Code

function onNodeModifying (sender, args)

Event Data

NodeModifying handlers receive an event object of type NodeEventArgs.

Remarks

This event is raised after each mouse movement while modifying a node. 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 node to its original location.

To handle the NodeModifying event, assign the name of the respective JavaScript function (for example 'onNodeModifying') to the NodeModifyingScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
NodeModified Event