ASP.NET Pack Programmer's Guide
DiagramNode.setEnabledHandles Method
See Also
 





Sets the kinds of modifications that end-users are permitted to perform on the node.

Namespace: MindFusion.Diagramming
Package: DiagramNode.js

 Syntax

JavaScript  Copy Code

function setEnabledHandles (value)

 Parameters

value
A combination of the AdjustmentHandles enumeration members. The default is AdjustmentHandles.All.

 Remarks

Disabling some selection handles allows restricting the types of modifications that users can perform on a node. Each manipulation handle can be enabled or disabled by setting or clearing the respective flag in the combination.

For example, to make a node resizable only horizontally, set this property to a combination of the Move, ResizeMiddleLeft and ResizeMiddleRight flags. That will disable all manipulation handles, except the left and right ones, which allow horizontal resizing, and the central one allowing movement of the node.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace
HandlesStyle Property