共用方式為


ScrollPresenter.BringingIntoView 事件

定義

發生在帶入檢視要求參與的開頭。 允許自定義該參與。

// Register
event_token BringingIntoView(TypedEventHandler<ScrollPresenter, ScrollingBringingIntoViewEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ScrollPresenter::BringingIntoView_revoker BringingIntoView(auto_revoke_t, TypedEventHandler<ScrollPresenter, ScrollingBringingIntoViewEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollPresenter,ScrollingBringingIntoViewEventArgs> BringingIntoView;
function onBringingIntoView(eventArgs) { /* Your code */ }
scrollPresenter.addEventListener("bringingintoview", onBringingIntoView);
scrollPresenter.removeEventListener("bringingintoview", onBringingIntoView);
- or -
scrollPresenter.onbringingintoview = onBringingIntoView;
Public Custom Event BringingIntoView As TypedEventHandler(Of ScrollPresenter, ScrollingBringingIntoViewEventArgs) 

事件類型

適用於