IScrollController.ScrollToRequested 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 scroll to a particular offset is requested.
// Register
event_token ScrollToRequested(TypedEventHandler<IScrollController, ScrollControllerScrollToRequestedEventArgs const&> const& handler) const;
// Revoke with event_token
void ScrollToRequested(event_token const* cookie) const;
// Revoke with event_revoker
IScrollController::ScrollToRequested_revoker ScrollToRequested(auto_revoke_t, TypedEventHandler<IScrollController, ScrollControllerScrollToRequestedEventArgs const&> const& handler) const;
event TypedEventHandler<IScrollController,ScrollControllerScrollToRequestedEventArgs> ScrollToRequested;
function onScrollToRequested(eventArgs) { /* Your code */ }
iScrollController.addEventListener("scrolltorequested", onScrollToRequested);
iScrollController.removeEventListener("scrolltorequested", onScrollToRequested);
- or -
iScrollController.onscrolltorequested = onScrollToRequested;
Event ScrollToRequested As TypedEventHandler(Of IScrollController, ScrollControllerScrollToRequestedEventArgs)