Compartilhar via


InputPointerSource.PointerCaptureLost Evento

Definição

Ocorre quando um ponteiro em contato com esse InputPointerSource se move para outro 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

Comentários

Esse evento é o evento final gerado para o ponteiro associado.

Um ponteiro pode perder a captura devido a interações do usuário ou porque você capturou programaticamente outro ponteiro ou liberou a captura de ponteiro atual deliberadamente.

Aplica-se a