MouseDelta MouseDelta MouseDelta MouseDelta Struct

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

Syntax

Declaration

public struct MouseDeltapublic struct MouseDeltaPublic Structure MouseDelta

Fields summary

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

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

Fields

  • X
    X
    X
    X

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

    public field int Xpublic field int XPublic Field X
  • Y
    Y
    Y
    Y

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

    public field int Ypublic field int YPublic Field Y

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Input.dll