Compartilhar via


SpatialGestureRecognizer.ManipulationCanceled Evento

Definição

Ocorre quando um gesto de Manipulação é cancelado.

// Register
event_token ManipulationCanceled(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationCanceled_revoker ManipulationCanceled(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationCanceledEventArgs> ManipulationCanceled;
function onManipulationCanceled(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationcanceled", onManipulationCanceled);
spatialGestureRecognizer.removeEventListener("manipulationcanceled", onManipulationCanceled);
- or -
spatialGestureRecognizer.onmanipulationcanceled = onManipulationCanceled;
Public Custom Event ManipulationCanceled As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs) 

Tipo de evento

Comentários

Para interações com as mãos, o evento SpatialManipulationCanceledEventArgs é acionado quando a mão ManipulationStarted é perdida durante o gesto.

Para interações de controlador de fala e movimento, esse evento não é acionado.

Aplica-se a