Skip to main content

DXMouseEventArgs Members

Provides data for mouse events.

Constructors

Name Description
DXMouseEventArgs(MouseButtons, Int32, Int32, Int32, Int32, Boolean) Initializes a new instance of the DXMouseEventArgs class.
DXMouseEventArgs(MouseButtons, Int32, Int32, Int32, Int32) Initializes a new instance of the DXMouseEventArgs class with the specified parameters.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Button Gets which mouse button was pressed. Inherited from MouseEventArgs.
Clicks Gets the number of times the mouse button was pressed and released. Inherited from MouseEventArgs.
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. Inherited from MouseEventArgs.
Handled Gets or sets a value specifying whether an event has been handled.
IsHMouseWheel This member supports the internal infrastructure, and is not intended to be used directly from your code.
IsMouseEvent Gets whether these event arguments provide data for the MouseUp, MouseDown, and MouseMove events.
Location Gets the location of the mouse during the generating mouse event. Inherited from MouseEventArgs.
X Gets the x-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.
Y Gets the y-coordinate of the mouse during the generating mouse event. Inherited from MouseEventArgs.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMouseArgs(Control, EventArgs) static Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object.
GetMouseArgs(MouseEventArgs) static Converts the MouseEventArgs object passed as a parameter to a DXMouseEventArgs object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Sync() For internal use.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also