MouseDevice Properties

The MouseDevice type exposes the following members.

  Name Description
Public property ActiveSource Gets the PresentationSource that is reporting input for this device. (Overrides InputDevice.ActiveSource.)
Public property Captured Gets the IInputElement that is captured by the mouse.
Public property DirectlyOver Gets the element that the mouse pointer is directly over.
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property LeftButton Gets the state of the left mouse button of this mouse device.
Public property MiddleButton The state of the middle button of this mouse device.
Public property OverrideCursor Gets or sets the cursor for the entire application.
Public property RightButton Gets the state of the right button of this mouse device.
Public property Target Gets the IInputElement that the input from this mouse device is sent to. (Overrides InputDevice.Target.)
Public property XButton1 Gets the state of the first extended button on this mouse device.
Public property XButton2 Gets the state of the second extended button of this mouse device.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft