Click or drag to resize

MouseState Properties

The MouseState type exposes the following members.

Properties
  NameDescription
Public propertyButton
Which button or buttons are currently pressed
Public propertyDeviceLocation
Where the mouse is, in device pixels of the surface this event came from.
Public propertyDpiScale
Device pixels per logical pixel for the surface this event came from. 1.0 when that is not known.
Public propertyFrustumLine
Line in frustum that the active mouse position covers
Public propertyLocation
Where the mouse is, in logical pixels of the surface this event came from. This is the coordinate system on screen controls are laid out in, so it is the one to hit test against.
Public propertyView
View that is being used mouse tests
Top
See Also