MouseDevice.MouseMoved MouseDevice.MouseMoved MouseDevice.MouseMoved MouseDevice.MouseMoved MouseDevice.MouseMoved Event

Definition

Occurs when the mouse pointer is moved.

public : event TypedEventHandler<MouseDevice, MouseEventArgs> MouseMoved
// Register
event_token MouseMoved(TypedEventHandler<MouseDevice, MouseEventArgs> const& handler) const;

// Revoke with event_token
void MouseMoved(event_token const& cookie) const;

// Revoke with event_revoker
MouseMoved_revoker MouseMoved(auto_revoke_t, TypedEventHandler<MouseDevice, MouseEventArgs> const& handler) const;
public event TypedEventHandler<MouseDevice, MouseEventArgs> MouseMoved
Public Event MouseMoved As TypedEventHandler (Of MouseDevice, MouseEventArgs)
function onMouseMoved(eventArgs){/* Your code */}


mouseDevice.addEventListener("mousemoved", onMouseMoved);
mouseDevice.removeEventListener("mousemoved", onMouseMoved);