IScrollController.AddScrollVelocityRequested 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生於要求捲動速度變更時。
// 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)