Udostępnij za pośrednictwem


CoreIndependentInputSource.PointerRoutedReleased Event

Definition

Occurs on all input objects ever associated with, but not currently receiving input from, a pointer that fires a CoreIndependentInputSource.PointerReleased event on an input object.

// 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

Event Type

Implements

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to