MindFusion.Diagramming for JavaScript Programmer's Guide
Events.containerChildAdding Field
See Also
 





A validation event raised to let you prevent users from adding child nodes to a container.

Namespace: MindFusion.Diagramming
File: Events.js

 Syntax

JavaScript  Copy Code

var containerChildAdding

 Remarks

Call getNode and getContainer methods of the provided NodeEventArgs instance to access the relevant nodes. Set the Cancel argument to true to display the stop cursor and indicate that releasing the mouse button at the current position will cancel the operation.

 See Also

Events Members
Events Class
MindFusion.Diagramming Namespace
containerChildAdded Event
containerChildRemoving Event