Provides data for the MouseUp, MouseDown, and MouseMove events.
Object
EventArgs
MouseEventArgs
[Visual Basic] Public Class MouseEventArgs Inherits EventArgs [C#] public class MouseEventArgs : EventArgs [C++] public __gc class MouseEventArgs : public EventArgs [JScript] public class MouseEventArgs extends EventArgs
The MouseDown event occurs when the user presses the mouse button while the pointer is over a control. The MouseUp event occurs when the user releases the mouse button while the pointer remains over the control. The MouseMove event occurs when the user moves the mouse pointer over a control. A MouseEventArgs specifies which mouse button is pressed, how many times, the coordinates of the mouse click, and the amount the mouse wheel moved.
These three events exist for both Control and TrayIcon.
For information about the event model, see TBD.
Namespace: System.WinForms
Assembly: System.WinForms.dll
MouseEventArgs Members | System.WinForms Namespace | OnMouseDown | System.WinForms.Control.MouseDown | OnMouseUp | System.WinForms.Control.MouseUp | OnMouseMove | System.WinForms.Control.MouseMove | System.WinForms.TrayIcon.MouseDown | System.WinForms.TrayIcon.MouseUp | System.WinForms.TrayIcon.MouseMove