CoreWindow.PointerCaptureLost Event

Definition

Occurs when a pointer moves to another app. This event is raised after PointerExited and is the final event received by the app for this pointer.

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

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

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

Event Type

Implements

Applies to

See also