次の方法で共有


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 で導入)

適用対象

こちらもご覧ください