Enumeration of the possible Mouse2DEvent event types.

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version:


public enum Mouse2DEventTypes
Visual Basic
Public Enumeration Mouse2DEventTypes


Member nameValueDescription
None0 Not a Mouse2DEvent.
Moved1 The mouse has been moved.
Dragged2 The mouse has been dragged, i.e. it has been moved while at least one button has been pressed.
Pressed3 A button has been pressed.
Released4 A button has been released. If there was no drag event since the last press event, this will result in a click.
Entered5 The mouse has entered the control's bounds.
Exited6 The mouse has exited the control's bounds.
WheelTurned7 The mouse wheel has been turned.
Clicked8 A mouse click has been recognized. This is the case if a press has directly been followed by a release.
LostCapture9 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.

See Also