ICoreWindow.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.
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla