Visual Basic
C#
Managed Extensions for C++
C++/CLI
The event handler receives an argument of type MouseMoveEventArgs containing data related to this event. The following MouseMoveEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Element | Gets the element that was clicked on to create the event. |
| Layer | Gets the layer that was active at the time of the mouse move event. |
| MouseButtons | Gets the mouse button which generated the event. |
| Shift | Gets the shift key state when the event was generated. |
| X | Gets the x coordinate of the cursor at the end of the mouse move event. |
| Y | Gets the y coordinate of the cursor at the end of the mouse move event. |