CoreWindow.PointerCaptureLost Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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