CoreWindow.PointerCaptureLost Evento

Definizione

Si verifica quando un puntatore passa a un'altra app. Questo evento viene generato dopo PointerExited ed è l'evento finale ricevuto dall'app per questo puntatore.

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

Tipo evento

Implementazioni

Si applica a

Vedi anche