共用方式為


IScrollController.CanScrollChanged 事件

定義

發生於 CanScroll 屬性值變更時。

// Register
event_token CanScrollChanged(TypedEventHandler<IScrollController, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
IScrollController::CanScrollChanged_revoker CanScrollChanged(auto_revoke_t, TypedEventHandler<IScrollController, IInspectable const&> const& handler) const;
event TypedEventHandler<IScrollController,object> CanScrollChanged;
function onCanScrollChanged(eventArgs) { /* Your code */ }
iScrollController.addEventListener("canscrollchanged", onCanScrollChanged);
iScrollController.removeEventListener("canscrollchanged", onCanScrollChanged);
- or -
iScrollController.oncanscrollchanged = onCanScrollChanged;
Event CanScrollChanged As TypedEventHandler(Of IScrollController, Object) 

事件類型

適用於