Compartir a través de


InputPointerSource.PointerCaptureLost Evento

Definición

Se produce cuando un puntero en contacto con este InputPointerSource se mueve a otro destino de entrada.

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

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

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

Tipo de evento

Comentarios

Este evento es el evento final generado para el puntero asociado.

Un puntero puede perder la captura debido a interacciones del usuario o porque capturó mediante programación otro puntero o liberó deliberadamente la captura del puntero actual.

Se aplica a