Udostępnij za pośrednictwem


ScrollView.ZoomCompleted Event

Definition

Occurs when a ZoomTo, ZoomBy, or AddZoomVelocity asynchronous operation ends. Provides the original correlation ID.

// 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) 

Event Type

Applies to