次の方法で共有


CoreIndependentInputSource.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
CoreIndependentInputSource::PointerRoutedReleased_revoker PointerRoutedReleased(auto_revoke_t, TypedEventHandler<ICorePointerRedirector, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<ICorePointerRedirector,PointerEventArgs> PointerRoutedReleased;
function onPointerRoutedReleased(eventArgs) { /* Your code */ }
coreIndependentInputSource.addEventListener("pointerroutedreleased", onPointerRoutedReleased);
coreIndependentInputSource.removeEventListener("pointerroutedreleased", onPointerRoutedReleased);
- or -
coreIndependentInputSource.onpointerroutedreleased = onPointerRoutedReleased;
Public Custom Event PointerRoutedReleased As TypedEventHandler(Of ICorePointerRedirector, PointerEventArgs) Implements PointerRoutedReleased

イベントの種類

実装

Windows の要件

デバイス ファミリ
Windows 11 (10.0.22000.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v14.0 で導入)

適用対象