ScrollView.ZoomCompleted É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 lorsqu’une ZoomTo
opération asynchrone , ZoomBy
ou AddZoomVelocity
se termine. Fournit l’ID de corrélation d’origine.
// Register
event_token ZoomCompleted(TypedEventHandler<ScrollView, ScrollingZoomCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ZoomCompleted(event_token const* cookie) const;
// Revoke with event_revoker
ScrollView::ZoomCompleted_revoker ZoomCompleted(auto_revoke_t, TypedEventHandler<ScrollView, ScrollingZoomCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollView,ScrollingZoomCompletedEventArgs> ZoomCompleted;
function onZoomCompleted(eventArgs) { /* Your code */ }
scrollView.addEventListener("zoomcompleted", onZoomCompleted);
scrollView.removeEventListener("zoomcompleted", onZoomCompleted);
- or -
scrollView.onzoomcompleted = onZoomCompleted;
Public Custom Event ZoomCompleted As TypedEventHandler(Of ScrollView, ScrollingZoomCompletedEventArgs)