MouseDevice.MouseMoved Event

Occurs when the mouse is moved.

Syntax

public:
event TypedEventHandler<MouseDevice^ , MouseEventArgs^ >^ MouseMoved {
         EventRegistrationToken add (TypedEventHandler<MouseDevice^ , MouseEventArgs^ >^ value);
         void remove (EventRegistrationToken token);
}  

Remarks

You can obtain information about the mouse position delta by querying the MouseEventArgs.MouseDelta property.

Requirements

Namespace: Windows.Devices.Input

Metadata: windows.winmd

See also

Reference

MouseDevice Class

MouseDevice Members

Windows.Devices.Input Namespace