Share via


ScrollView.ZoomAnimationStarting Event

Definition

Occurs when a call to ZoomTo or ZoomBy triggers an 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) 

Event Type

Remarks

Handle this event to customize the animation that is starting.

Applies to