GestureRecognizer.ManipulationCompleted Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque les points d’entrée sont levés et que tous les mouvements suivants (translation, expansion ou rotation) à travers l’inertie ont pris fin.
Pour plus d’informations sur cette API, consultez la rubrique UWP WinRT ManipulationCompleted .
// Register
event_token ManipulationCompleted(TypedEventHandler<GestureRecognizer, ManipulationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ManipulationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
GestureRecognizer::ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, TypedEventHandler<GestureRecognizer, ManipulationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,ManipulationCompletedEventArgs> ManipulationCompleted;
function onManipulationCompleted(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("manipulationcompleted", onManipulationCompleted);
gestureRecognizer.removeEventListener("manipulationcompleted", onManipulationCompleted);
- or -
gestureRecognizer.onmanipulationcompleted = onManipulationCompleted;
Public Custom Event ManipulationCompleted As TypedEventHandler(Of GestureRecognizer, ManipulationCompletedEventArgs)