Specifies what actions can be associated with the middle and right mouse buttons.
Namespace: MindFusion.Diagramming
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
Cancel |
Cancels the current drawing operation. |
|
Draw |
Draw new items or modify existing items. |
|
Magnify |
Magnifies the items under the mouse while the button is pressed down. |
|
None |
Do not associate any action with the button. |
|
Pan |
Pans the view if the mouse is dragged while the button is pressed down. |
|
Select |
Starts a multiple selection operation. |
|
Zoom |
Draw a zoom-lasso if the mouse is dragged with specified button pressed down. |
Members of this enumeration can be assigned to the middleButtonActions and rightButtonActions properties of DiagramView.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |