ScrollView.ScrollCompleted 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 ScrollTo
, ScrollBy
, or AddScrollVelocity
asynchronous operation ends. Provides the original correlation ID.
// Register
event_token ScrollCompleted(TypedEventHandler<ScrollView, ScrollingScrollCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void ScrollCompleted(event_token const* cookie) const;
// Revoke with event_revoker
ScrollView::ScrollCompleted_revoker ScrollCompleted(auto_revoke_t, TypedEventHandler<ScrollView, ScrollingScrollCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollView,ScrollingScrollCompletedEventArgs> ScrollCompleted;
function onScrollCompleted(eventArgs) { /* Your code */ }
scrollView.addEventListener("scrollcompleted", onScrollCompleted);
scrollView.removeEventListener("scrollcompleted", onScrollCompleted);
- or -
scrollView.onscrollcompleted = onScrollCompleted;
Public Custom Event ScrollCompleted As TypedEventHandler(Of ScrollView, ScrollingScrollCompletedEventArgs)