ASP.NET Pack Programmer's Guide
ModifierKeyAction Enumeration
See Also
 





Defines the actions that can be assigned to a modifier key such as CTRL or ALT.

Namespace: MindFusion.Diagramming
Package: Enum.js

 Syntax

JavaScript  Copy Code

// enum
ModifierKeyAction = {}

 Members

  Member name Description

Magnify

Magnifies the diagram objects under the mouse while the modifier key is pressed down.

None

Specifies that a modifier key does not have any specific function assigned to it.

OverrideBehavior

While the modifier key is pressed down, dragging the mouse starts creating a new item or drawing a selection rectangle instead of modifying a selected item. Otherwise, dragging the mouse could start modification of the selected item.

Pan

Pan the view if the mouse is dragged while the modifier key is pressed down.

Select

Start drawing a selection rectangle if the mouse is dragged while a modifier key is pressed down. Toggle the selection if an item is clicked while the key is down.

 Remarks

The values from this enumeration can be assigned to the members of the diagram's ModifierKeyActions.

 See Also

MindFusion.Diagramming Namespace