GestureRecognizer.ManipulationInertiaStarting Evento

Definición

Se produce cuando se levantan todos los puntos de contacto durante una manipulación y la velocidad de la manipulación es lo suficientemente importante como para iniciar el comportamiento de inercia (conversión, expansión o rotación continúan después de que se levanten los punteros de entrada).

// Register
event_token ManipulationInertiaStarting(TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GestureRecognizer::ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,ManipulationInertiaStartingEventArgs> ManipulationInertiaStarting;
function onManipulationInertiaStarting(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
gestureRecognizer.removeEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
- or -
gestureRecognizer.onmanipulationinertiastarting = onManipulationInertiaStarting;
Public Custom Event ManipulationInertiaStarting As TypedEventHandler(Of GestureRecognizer, ManipulationInertiaStartingEventArgs) 

Tipo de evento

Comentarios

La inercia es la tendencia de un objeto a resistir cualquier cambio en su estado de reposo o su velocidad.

Este evento se genera antes del procesamiento de inercia.

El comportamiento de inercia para esta manipulación se puede personalizar en el controlador para este evento. Por ejemplo, la inercia se puede establecer para finalizar después de que se muestre una distancia específica o una interfaz de usuario.

Nota

Esta configuración no se puede personalizar después del evento.

Se aplica a

Consulte también