MouseEventArgs MouseEventArgs MouseEventArgs MouseEventArgs MouseEventArgs Class


Contains event data for the MouseMoved event.

public : sealed class MouseEventArgs
struct winrt::Windows::Devices::Input::MouseEventArgs
public sealed class MouseEventArgs
Public NotInheritable Class MouseEventArgs
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


JavaScript: This object is accessed when you implement a handler to respond to MouseMoved events.

The Device Capabilities Sample demonstrates how to detect the presence of input devices and retrieve the capabilities and attributes of each device.


: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).


MouseDelta MouseDelta MouseDelta MouseDelta MouseDelta

Gets a value that indicates the change in the screen location of the mouse pointer since the last mouse event.

See also