ICorePointerInputSource interface

Applies to Windows and Windows Phone

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

Syntax


public interface class ICorePointerInputSource

Attributes

[Version(0x06030000)]
[WebHostHidden()]

Members

The ICorePointerInputSource interface has these types of members:

Events

The ICorePointerInputSource interface has these events.

EventDescription
PointerCaptureLost Occurs when the pointer input capture stream fails or is lost.
PointerEntered Occurs when the pointer enters a UI element.
PointerExited Occurs when the pointer exits a UI element.
PointerMoved Occurs when the pointer is moved.
PointerPressed Occurs when a press action (such as a screen press or mouse click) is received for the pointer.
PointerReleased Occurs when a release action (such as a screen press-release or mouse click-release) is received for the pointer.
PointerWheelChanged Occurs when the pointer wheel (mouse or virtual) has changed position.

 

Methods

The ICorePointerInputSource interface has these methods. It also inherits methods from the Object class.

MethodDescription
ReleasePointerCapture Stops the capture of pointer input data.
SetPointerCapture Starts the capture of pointer input data, if the pointer input device supports it.

 

Properties

The ICorePointerInputSource interface has these properties.

PropertyAccess typeDescription

HasCapture

Read-onlyOccurs if the pointer input source has capture functionality.

PointerCursor

Read/writeGets or sets the current pointer cursor type.

PointerPosition

Read-onlyGets the current position of the pointer in screen coordinates.

 

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft