I​Core​Pointer​Input​Source I​Core​Pointer​Input​Source I​Core​Pointer​Input​Source I​Core​Pointer​Input​Source Interface

Definition

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

public : interface ICorePointerInputSourcepublic interface ICorePointerInputSourcePublic Interface ICorePointerInputSource// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

HasCapture HasCapture HasCapture HasCapture

Occurs if the pointer input source has capture functionality.

public : PlatForm::Boolean HasCapture { get; }public bool HasCapture { get; }Public ReadOnly Property HasCapture As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

True if the pointer input source has capture functionality; false if it does not.

PointerCursor PointerCursor PointerCursor PointerCursor

Gets or sets the current pointer cursor type.

public : CoreCursor PointerCursor { get; set; }public CoreCursor PointerCursor { get; set; }Public ReadWrite Property PointerCursor As CoreCursor// This API is not available in Javascript.
Value
CoreCursor CoreCursor CoreCursor CoreCursor

The current pointer cursor.

PointerPosition PointerPosition PointerPosition PointerPosition

Gets the current position of the pointer in screen coordinates.

public : Point PointerPosition { get; }public Point PointerPosition { get; }Public ReadOnly Property PointerPosition As Point// This API is not available in Javascript.
Value
Point Point Point Point

The current position of the pointer, in screen coordinates.

Methods

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

Stops the capture of pointer input data.

public : void ReleasePointerCapture()public void ReleasePointerCapture()Public Function ReleasePointerCapture() As void// This API is not available in Javascript.

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

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

public : void SetPointerCapture()public void SetPointerCapture()Public Function SetPointerCapture() As void// This API is not available in Javascript.

Events

PointerCaptureLost PointerCaptureLost PointerCaptureLost PointerCaptureLost

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

public : abstract event TypedEventHandler PointerCaptureLost<object,  PointerEventArgs>public abstract event TypedEventHandler PointerCaptureLost<object,  PointerEventArgs>Public MustInherit Event PointerCaptureLost<object,  PointerEventArgs>// This API is not available in Javascript.

PointerEntered PointerEntered PointerEntered PointerEntered

Occurs when the pointer enters a UI element.

public : abstract event TypedEventHandler PointerEntered<object,  PointerEventArgs>public abstract event TypedEventHandler PointerEntered<object,  PointerEventArgs>Public MustInherit Event PointerEntered<object,  PointerEventArgs>// This API is not available in Javascript.

PointerExited PointerExited PointerExited PointerExited

Occurs when the pointer exits a UI element.

public : abstract event TypedEventHandler PointerExited<object,  PointerEventArgs>public abstract event TypedEventHandler PointerExited<object,  PointerEventArgs>Public MustInherit Event PointerExited<object,  PointerEventArgs>// This API is not available in Javascript.

PointerMoved PointerMoved PointerMoved PointerMoved

Occurs when the pointer is moved.

public : abstract event TypedEventHandler PointerMoved<object,  PointerEventArgs>public abstract event TypedEventHandler PointerMoved<object,  PointerEventArgs>Public MustInherit Event PointerMoved<object,  PointerEventArgs>// This API is not available in Javascript.

PointerPressed PointerPressed PointerPressed PointerPressed

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

public : abstract event TypedEventHandler PointerPressed<object,  PointerEventArgs>public abstract event TypedEventHandler PointerPressed<object,  PointerEventArgs>Public MustInherit Event PointerPressed<object,  PointerEventArgs>// This API is not available in Javascript.

PointerReleased PointerReleased PointerReleased PointerReleased

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

public : abstract event TypedEventHandler PointerReleased<object,  PointerEventArgs>public abstract event TypedEventHandler PointerReleased<object,  PointerEventArgs>Public MustInherit Event PointerReleased<object,  PointerEventArgs>// This API is not available in Javascript.

PointerWheelChanged PointerWheelChanged PointerWheelChanged PointerWheelChanged

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

public : abstract event TypedEventHandler PointerWheelChanged<object,  PointerEventArgs>public abstract event TypedEventHandler PointerWheelChanged<object,  PointerEventArgs>Public MustInherit Event PointerWheelChanged<object,  PointerEventArgs>// This API is not available in Javascript.