ScrollPresenter.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<ScrollPresenter, ScrollingZoomCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ZoomCompleted(event_token const* cookie) const;
// Revoke with event_revoker
ScrollPresenter::ZoomCompleted_revoker ZoomCompleted(auto_revoke_t, TypedEventHandler<ScrollPresenter, ScrollingZoomCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollPresenter,ScrollingZoomCompletedEventArgs> ZoomCompleted;
function onZoomCompleted(eventArgs) { /* Your code */ }
scrollPresenter.addEventListener("zoomcompleted", onZoomCompleted);
scrollPresenter.removeEventListener("zoomcompleted", onZoomCompleted);
- or -
scrollPresenter.onzoomcompleted = onZoomCompleted;
Public Custom Event ZoomCompleted As TypedEventHandler(Of ScrollPresenter, ScrollingZoomCompletedEventArgs)