Specifies what actions can be associated with the middle and right mouse buttons.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public enum MouseButtonActions |
Visual Basic Copy Code |
---|
Public Enum MouseButtonActions |
Member name | Description | |
---|---|---|
Cancel |
Cancels the current drawing operation. |
|
Draw |
Starts drawing a diagram item. |
|
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. |
The Cancel value can be combined with Pan or Select. Thus if a user presses the mouse button while drawing an item, the operation will be cancelled; otherwise dragging with the specified button will start panning or drawing a selection rectangle.
WpfDiagram Programmer's Guide | © 2024 MindFusion |