IScrollController.AddScrollVelocityRequested 事件

定义

请求滚动速度更改时发生。

// Register
event_token AddScrollVelocityRequested(TypedEventHandler<IScrollController, ScrollControllerAddScrollVelocityRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void AddScrollVelocityRequested(event_token const* cookie) const;

// Revoke with event_revoker
IScrollController::AddScrollVelocityRequested_revoker AddScrollVelocityRequested(auto_revoke_t, TypedEventHandler<IScrollController, ScrollControllerAddScrollVelocityRequestedEventArgs const&> const& handler) const;
event TypedEventHandler<IScrollController,ScrollControllerAddScrollVelocityRequestedEventArgs> AddScrollVelocityRequested;
function onAddScrollVelocityRequested(eventArgs) { /* Your code */ }
iScrollController.addEventListener("addscrollvelocityrequested", onAddScrollVelocityRequested);
iScrollController.removeEventListener("addscrollvelocityrequested", onAddScrollVelocityRequested);
- or -
iScrollController.onaddscrollvelocityrequested = onAddScrollVelocityRequested;
Event AddScrollVelocityRequested As TypedEventHandler(Of IScrollController, ScrollControllerAddScrollVelocityRequestedEventArgs) 

事件类型

适用于