MouseEventArgs class

Applies to Windows and Windows Phone

Contains event data for the MouseMoved event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[MarshalingBehavior(Standard)]
[Version(0x06020000)]

Members

The MouseEventArgs class has these types of members:

Properties

The MouseEventArgs class has these properties.

PropertyAccess typeDescription

MouseDelta

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

 

Remarks

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.

Note  : 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).

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Input
Windows::Devices::Input [C++]

Metadata

Windows.winmd

See also

Windows.Devices.Input

 

 

Show:
© 2014 Microsoft