This topic has not yet been rated - Rate this topic

MouseEventArgs Properties

The MouseEventArgs type exposes the following members.

  NameDescription
Public property Button Gets which mouse button was pressed.
Public property Clicks Gets the number of times the mouse button was pressed and released.
Public property Delta Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.
Public property Location Gets the location of the mouse during the generating mouse event.
Public property X Gets the x-coordinate of the mouse during the generating mouse event.
Public property Y Gets the y-coordinate of the mouse during the generating mouse event.
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.