MouseDelta Struct

Definition

Identifies the change in screen location of the mouse pointer, relative to the location of the last mouse event.

public value class MouseDelta
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct MouseDelta
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct MouseDelta
var mouseDelta = {
x : /* Your value */,
y : /* Your value */
}
Public Structure MouseDelta
Inheritance
MouseDelta
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

X

The x-coordinate of the mouse pointer, relative to the location of the last mouse event.

Y

The y-coordinate of the mouse pointer, relative to the location of the last mouse event.

Applies to

See also