ICorePointerInputSource ICorePointerInputSource ICorePointerInputSource ICorePointerInputSource Interface


Defines the behavior of pointer input (for processing on a worker thread).

public : interface ICorePointerInputSource
struct winrt::Windows::UI::Core::ICorePointerInputSource
public interface ICorePointerInputSource
Public Interface ICorePointerInputSource
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


HasCapture HasCapture HasCapture HasCapture

Occurs if the pointer input source has capture functionality.

PointerCursor PointerCursor PointerCursor PointerCursor

Gets or sets the current pointer cursor type.

PointerPosition PointerPosition PointerPosition PointerPosition

Gets the current position of the pointer in screen coordinates.


ReleasePointerCapture() ReleasePointerCapture() ReleasePointerCapture() ReleasePointerCapture()

Stops the capture of pointer input data.

SetPointerCapture() SetPointerCapture() SetPointerCapture() SetPointerCapture()

Starts the capture of pointer input data, if the pointer input device supports it.


PointerCaptureLost PointerCaptureLost PointerCaptureLost PointerCaptureLost

Occurs when the pointer input capture stream fails or is lost.

PointerEntered PointerEntered PointerEntered PointerEntered

Occurs when the pointer enters a UI element.

PointerExited PointerExited PointerExited PointerExited

Occurs when the pointer exits a UI element.

PointerMoved PointerMoved PointerMoved PointerMoved

Occurs when the pointer is moved.

PointerPressed PointerPressed PointerPressed PointerPressed

Occurs when a press action (such as a screen press or mouse click) is received for the pointer.

PointerReleased PointerReleased PointerReleased PointerReleased

Occurs when a release action (such as a screen press-release or mouse click-release) is received for the pointer.

PointerWheelChanged PointerWheelChanged PointerWheelChanged PointerWheelChanged

Occurs when the pointer wheel (mouse or virtual) has changed position.

See Also