MouseEventArgs Class
Provides data for the MouseUp, MouseDown, and MouseMove events.
Definition
Members Table
The following table lists the members exposed by the MouseEventArgs object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Equals | Overloaded. Compares two objects to determine if they are equal. (Inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MouseEventArgs | Initializes a new instance of MouseEventArgs. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| ToString | Returns a String that represents the current Object. (Inherited from Object) |
Properties
| Property | Description |
|---|
| Button | Gets which mouse button was pressed. |
| Clicks | Gets the number of times the mouse button was pressed and released. |
| Delta | Gets the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel. |
| Location | Gets the location of the mouse. |
| X | Gets the horizontal coordinate of the mouse. |
| Y | Gets the vertical coordinate of the mouse. |
Fields
| Field | Description |
|---|
| Empty | Represents an event with no event data. (Inherited from EventArgs) |
Inheritance Hierarchy
Object
Class Information
| Namespace | System.Windows.Forms |
|---|
| Flash Library | System.Windows.Forms.scl |
|---|
| Flash Library Version | 2.0.0.2118 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|