Partager via


ScrollView.ZoomAnimationStarting Événement

Définition

Se produit lorsqu’un appel à ZoomTo ou ZoomBy déclenche une animation.

// Register
event_token ZoomAnimationStarting(TypedEventHandler<ScrollView, ScrollingZoomAnimationStartingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ScrollView::ZoomAnimationStarting_revoker ZoomAnimationStarting(auto_revoke_t, TypedEventHandler<ScrollView, ScrollingZoomAnimationStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollView,ScrollingZoomAnimationStartingEventArgs> ZoomAnimationStarting;
function onZoomAnimationStarting(eventArgs) { /* Your code */ }
scrollView.addEventListener("zoomanimationstarting", onZoomAnimationStarting);
scrollView.removeEventListener("zoomanimationstarting", onZoomAnimationStarting);
- or -
scrollView.onzoomanimationstarting = onZoomAnimationStarting;
Public Custom Event ZoomAnimationStarting As TypedEventHandler(Of ScrollView, ScrollingZoomAnimationStartingEventArgs) 

Type d'événement

Remarques

Gérez cet événement pour personnaliser l’animation qui démarre.

S’applique à