CoreWindow.PointerPosition Property

Definition

Gets the client coordinates of the pointer.

public:
 property Point PointerPosition { Point get(); void set(Point value); };
Point PointerPosition();

void PointerPosition(Point value);
public Point PointerPosition { get; set; }
var point = coreWindow.pointerPosition;
coreWindow.pointerPosition = point;
Public Property PointerPosition As Point

Property Value

The position of the pointer in device-independent pixel (DIP).

Remarks

You cannot read the pointer position with this API when the lock screen is present.

Applies to

See also