Provides data for the OnMouseUp, OnMouseDown, and OnMouseMove events.
The OnMouseDown event occurs when the user presses the mouse button
while the pointer is over a control. The OnMouseUp event occurs
when the user releases the mouse button while the pointer remains
over the control. The OnMouseMove event occurs when the user moves
the mouse pointer over a control. A MouseEventArgs specifies which
mouse button is pressed, how many times the mouse button was
pressed and released, the coordinates of the mouse, and the amount
the mouse wheel moved.
It is possible to receive a OnMouseDown event without a corresponding OnMouseUp, if the user switches focus to another application before releasing the mouse button.
For more information, see MouseEventArgs in C#.
Gets which mouse button was pressed.
Gets the number of times the mouse button was pressed and release
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.
Gets the location of the mouse during the generating mouse event.
Gets the x-coordinate of the mouse during the generating mouse event.
Gets the y-coordinate of the mouse during the generating mouse event.