Jaa


ICorePointerInputSource2 Interface

Definition

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

public interface class ICorePointerInputSource2 : ICorePointerInputSource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.Guid(3607326858, 17686, 18310, 177, 229, 39, 81, 213, 99, 249, 151)]
struct ICorePointerInputSource2 : ICorePointerInputSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.Guid(3607326858, 17686, 18310, 177, 229, 39, 81, 213, 99, 249, 151)]
public interface ICorePointerInputSource2 : ICorePointerInputSource
Public Interface ICorePointerInputSource2
Implements ICorePointerInputSource
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Properties

DispatcherQueue

Gets the DispatcherQueue associated with a platform object.

HasCapture

Occurs if the pointer input source has capture functionality.

(Inherited from ICorePointerInputSource)
PointerCursor

Gets or sets the pointer cursor type.

(Inherited from ICorePointerInputSource)
PointerPosition

Gets the current position of the pointer in screen coordinates.

(Inherited from ICorePointerInputSource)

Methods

ReleasePointerCapture()

Stops the capture of pointer input data.

(Inherited from ICorePointerInputSource)
SetPointerCapture()

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

(Inherited from ICorePointerInputSource)

Events

PointerCaptureLost

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

(Inherited from ICorePointerInputSource)
PointerEntered

Occurs when the pointer enters a UI element.

(Inherited from ICorePointerInputSource)
PointerExited

Occurs when the pointer exits a UI element.

(Inherited from ICorePointerInputSource)
PointerMoved

Occurs when the pointer is moved.

(Inherited from ICorePointerInputSource)
PointerPressed

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

(Inherited from ICorePointerInputSource)
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

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

(Inherited from ICorePointerInputSource)

Applies to

See also