CoreWindow.PointerRoutedReleased 事件

定义

在与指针关联的所有输入对象上发生,但当前未从该指针(该指针在输入对象上触发 CoreIndependentInputSource.PointerReleased 事件)上发生。

// Register
event_token PointerRoutedReleased(TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreWindow::PointerRoutedReleased_revoker PointerRoutedReleased(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedReleased;
function onPointerRoutedReleased(eventArgs) { /* Your code */ }
coreWindow.addEventListener("pointerroutedreleased", onPointerRoutedReleased);
coreWindow.removeEventListener("pointerroutedreleased", onPointerRoutedReleased);
- or -
coreWindow.onpointerroutedreleased = onPointerRoutedReleased;
Public Custom Event PointerRoutedReleased As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs) Implements PointerRoutedReleased

事件类型

实现

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

适用于

另请参阅