ICorePointerInputSource Interface

定义指针输入的行为(针对工作线程的处理)。

语法


public interface ICorePointerInputSource

特性

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

成员

ICorePointerInputSource接口 具有这些类型的成员:

事件

ICorePointerInputSource接口 具有这些事件。

事件说明
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.

 

方法

The ICorePointerInputSource 接口 具有这些方法。 它还继承方法于Object 类.

方法说明
ReleasePointerCapture Stops the capture of pointer input data.
SetPointerCapture Starts the capture of pointer input data, if the pointer input device supports it.

 

属性

ICorePointerInputSource接口 具有这些属性。

属性访问类型说明

HasCapture

只读Occurs if the pointer input source has capture functionality.

PointerCursor

读/写Gets or sets the current pointer cursor type.

PointerPosition

只读Gets the current position of the pointer in screen coordinates.

 

要求

最低支持客户端

Windows 8.1

最低支持服务器

Windows Server 2012 R2

命名空间

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

元数据

Windows.winmd

 

 

显示:
© 2014 Microsoft