Skip to main content
A newer version of this page is available. .

BaseView.MouseMove Event

Occurs when the mouse pointer moves over a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DXCategory("Mouse")]
public event MouseEventHandler MouseMove

Event Data

The MouseMove event's data class is MouseEventArgs. The following properties provide information specific to this event:

Property Description
Button Gets which mouse button was pressed.
Clicks Gets the number of times the mouse button was pressed and released.
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.
Location Gets the location of the mouse during the generating mouse event.
X Gets the x-coordinate of the mouse during the generating mouse event.
Y Gets the y-coordinate of the mouse during the generating mouse event.

Remarks

When handling the MouseMove event of a detail View, the event sender identifies the clone that has actually raised the event.

You may need to determine which View element is currently located under the mouse pointer. Refer to the Hit Information help topic for information on how this can be performed.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MouseMove event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also