Udostępnij za pośrednictwem


ScrollView.ScrollCompleted Event

Definition

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) 

Event Type

Applies to