ICoreWindow.PointerCaptureLost Event

Definition

Specifies the event that occurs when a pointer moves to another window. This event is fired after PointerExited and is the final pointer event that is raised for a window.

// 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
ICoreWindow::PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,PointerEventArgs> PointerCaptureLost;
function onPointerCaptureLost(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("pointercapturelost", onPointerCaptureLost);
iCoreWindow.removeEventListener("pointercapturelost", onPointerCaptureLost);
- or -
iCoreWindow.onpointercapturelost = onPointerCaptureLost;
Event PointerCaptureLost As TypedEventHandler(Of CoreWindow, PointerEventArgs) 

Event Type

Applies to

See also