MouseEventArgs class

This topic has not yet been rated - Rate this topic

Contains event data for the MouseMoved event.

Syntax


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

Attributes

MarshalingBehaviorAttribute(Standard)
VersionAttribute(NTDDI_WIN8)

Members

The MouseEventArgs class has these types of members:

Methods

The MouseEventArgs class inherits methods from the Object class (C#/VB/C++).

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

Windows Phone 8

This API is not implemented and will throw an exception if called.

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

Namespace

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

Metadata

Windows.winmd

See also

Windows.Devices.Input

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.