CoreWindow.PointerReleased 事件

定义

当按下的鼠标按钮松开,或者从数字化器图面上抬起触摸或笔接触时,在应用 (的边界矩形内或边界矩形外(如果指针被捕获) )时发生。

// Register
event_token PointerReleased(TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;

// Revoke with event_token
void PointerReleased(event_token const* cookie) const;

// Revoke with event_revoker
CoreWindow::PointerReleased_revoker PointerReleased(auto_revoke_t, TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,PointerEventArgs> PointerReleased;
function onPointerReleased(eventArgs) { /* Your code */ }
coreWindow.addEventListener("pointerreleased", onPointerReleased);
coreWindow.removeEventListener("pointerreleased", onPointerReleased);
- or -
coreWindow.onpointerreleased = onPointerReleased;
Public Custom Event PointerReleased As TypedEventHandler(Of CoreWindow, PointerEventArgs) Implements PointerReleased

事件类型

实现

注解

交互会话在检测到单个联系人时开始,当不再检测到该联系人以及同一会话中的所有后续联系人时结束。

对于交互会话中检测到的每个接触 (触发此事件,鼠标除外,其中仅在) 释放最后一个鼠标按钮时触发此事件。

适用于

另请参阅