Defines the actions that can be assigned to a modifier key such as CTRL or ALT.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public enum ModifierKeyAction |
Visual Basic Copy Code |
---|
Public Enum ModifierKeyAction |
Member name | Description | |
---|---|---|
ExtendSelection |
Similar to Select, but does not deselect currently selected items when they are outside of a newly drawn lasso rectangle. |
|
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. |
|
Zoom |
Start drawing a zoom-lasso if the mouse is dragged while respective modifier key is pressed down. |
The values from this enumeration can be assigned to the members of the diagram view's ModifierKeyActions.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |