The MouseState type exposes the following members.

Constructors

  NameDescription
Public methodMouseState
Initializes a new instance of the MouseState class

Methods

  NameDescription
Public methodEquals(Object) (Overrides ValueType..::..Equals(Object).)
Public methodEquals(MouseState)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ValueType..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Operators

  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality

Fields

  NameDescription
Public fieldButton
The pressed mouse button.
Public fieldMouseWheel
The position of the mouse wheel.
Public fieldX
The x coordinate of the mouse.
Public fieldY
The y coordinate of the mouse.

See Also