共用方式為


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) 

事件類型

適用於