CoreIndependentInputSource.PointerCaptureLost Evento

Definizione

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

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

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

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

Tipo evento

Implementazioni

Si applica a