MouseEventArgs Class

Provides data about the mouse buttons and coordinates for a mouse Click event in a control.

Namespace: elsystem.windows.forms

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Button enum Gets which mouse button was pressed.  See MouseButtons for values.
Public property Clicks int Gets the number of times the mouse buttons was pressed and released.
Public property Delta int Gets a signed count of the number of detents the mouse wheel has rotated, A detent is one notch of the mouse wheel.
Public property X int Gets the windows x-coordinate of the mouse (from the left edge of the screen) for the event.
Public property Y int Gets the windows y-coordinate of the mouse (from the top edge of screen) for the event.
Inheritance Hierarchy

elsystem.Object

elsystem.EventArgs

elsystem.windows.forms.MouseEventArgs