ScrollPresenter.ZoomCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a ZoomTo
, ZoomBy
, or AddZoomVelocity
asynchronous operation ends. Provides the original correlation ID.
// 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)