Click or drag to resize

Mouse Class

Static methods to get the current mouse state
Inheritance Hierarchy
SystemObject
  Eto.FormsMouse

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static class Mouse

The Mouse type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberButtons
Gets the current state of the mouse buttons
Public propertyStatic memberIsSupported
Gets a value indicating whether the current platform supports mouse functions in this class
Public propertyStatic memberPosition
Gets or sets the current mouse position in screen coordinates
Top
Methods
  NameDescription
Public methodStatic memberIsAnyButtonPressed
Returns true if any of the specified mouse buttons is pressed.
Public methodStatic memberSetCursor
Temporarily sets the current mouse pointer to the specified cursor.
Top
See Also