Enumeration of the possible Mouse2DEvent event types.
Namespace: yWorks.Canvas.InputAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public enum Mouse2DEventTypes |
| Visual Basic |
|---|
Public Enumeration Mouse2DEventTypes |
Members
| Member name | Description | ||
|---|---|---|---|
| None | 0 | Not a Mouse2DEvent. | |
| Moved | 1 | The mouse has been moved. | |
| Dragged | 2 | The mouse has been dragged, i.e. it has been moved while at least one button has been pressed. | |
| Pressed | 3 | A button has been pressed. | |
| Released | 4 | A button has been released. If there was no drag event since the last press event, this will result in a click. | |
| Entered | 5 | The mouse has entered the control's bounds. | |
| Exited | 6 | The mouse has exited the control's bounds. | |
| WheelTurned | 7 | The mouse wheel has been turned. | |
| Clicked | 8 | A mouse click has been recognized. This is the case if a press has directly been followed by a release. | |
| LostCapture | 9 | Mouse input capture has been lost. This can happen during mouse drags, if any button is pressed and the focus is taken from the application or transferred to another component by other means then moving the mouse. |