Search
DiagramNode.enabledHandles Property
See Also
 






Gets or sets a value indicating which adjustment handles are enabled for this node.

Namespace: MindFusion.Diagramming
File: DiagramNode.js

 Syntax

JavaScript  Copy Code

get enabledHandles() {}
set enabledHandles(value) {}

 Property Value

AdjustmentHandles

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