ScrollView.ZoomCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生於 ZoomTo
、 ZoomBy
或 AddZoomVelocity
異步操作結束時。 提供原始的相互關聯標識碼。
// 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)