ICorePointerInputSource2 ICorePointerInputSource2 ICorePointerInputSource2 ICorePointerInputSource2 Interface

Definition

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

public : interface ICorePointerInputSource2 : ICorePointerInputSource
struct winrt::Windows::UI::Core::ICorePointerInputSource2 : ICorePointerInputSource
public interface ICorePointerInputSource2 : ICorePointerInputSource
Public Interface ICorePointerInputSource2 Implements ICorePointerInputSource
Inheritance
ICorePointerInputSource2ICorePointerInputSource2ICorePointerInputSource2ICorePointerInputSource2
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Properties

DispatcherQueue DispatcherQueue DispatcherQueue DispatcherQueue

Gets the DispatcherQueue associated with a platform object.

HasCapture HasCapture HasCapture HasCapture

Occurs if the pointer input source has capture functionality.

(Inherited from ICorePointerInputSource)
PointerCursor PointerCursor PointerCursor PointerCursor

Gets or sets the current pointer cursor type.

(Inherited from ICorePointerInputSource)
PointerPosition PointerPosition PointerPosition PointerPosition

Gets the current position of the pointer in screen coordinates.

(Inherited from ICorePointerInputSource)

Events

PointerCaptureLost PointerCaptureLost PointerCaptureLost PointerCaptureLost

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

(Inherited from ICorePointerInputSource)
PointerEntered PointerEntered PointerEntered PointerEntered

Occurs when the pointer enters a UI element.

(Inherited from ICorePointerInputSource)
PointerExited PointerExited PointerExited PointerExited

Occurs when the pointer exits a UI element.

(Inherited from ICorePointerInputSource)
PointerMoved PointerMoved PointerMoved PointerMoved

Occurs when the pointer is moved.

(Inherited from ICorePointerInputSource)
PointerPressed PointerPressed PointerPressed PointerPressed

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

(Inherited from ICorePointerInputSource)
PointerReleased PointerReleased PointerReleased PointerReleased

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

(Inherited from ICorePointerInputSource)
PointerWheelChanged PointerWheelChanged PointerWheelChanged PointerWheelChanged

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

(Inherited from ICorePointerInputSource)

Methods

ReleasePointerCapture ReleasePointerCapture ReleasePointerCapture ReleasePointerCapture

Stops the capture of pointer input data.

(Inherited from ICorePointerInputSource)
SetPointerCapture SetPointerCapture SetPointerCapture SetPointerCapture

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

(Inherited from ICorePointerInputSource)

See also