Mouse Properties

The Mouse type exposes the following members.

  NameDescription
Public property Static member Captured Gets the element that has captured the mouse.
Public property Static member DirectlyOver Gets the element the mouse pointer is directly over.
Public property Static member LeftButton Gets the state of the left button of the mouse.
Public property Static member MiddleButton Gets the state of the middle button of the mouse.
Public property Static member OverrideCursor Gets or sets the cursor for the entire application.
Public property Static member PrimaryDevice Gets the primary mouse device.
Public property Static member RightButton Gets the state of the right button.
Public property Static member XButton1 Gets the state of the first extended button.
Public property Static member XButton2 Gets the state of the second extended button.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft