MouseDelta MouseDelta MouseDelta MouseDelta MouseDelta Struct

Definition

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

public : struct MouseDelta
struct winrt::Windows::Devices::Input::MouseDelta
public struct MouseDelta
Public Structure MouseDelta
var mouseDelta = {

   x: /* Your value */,

   y: /* Your value */

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

Fields

X X X X X

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

int X;
int X;
int X;
X As int;
var int = mouseDelta.x;
mouseDelta.x = int;

Y Y Y Y Y

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

int Y;
int Y;
int Y;
Y As int;
var int = mouseDelta.y;
mouseDelta.y = int;