ScrollPresenter.BringingIntoView Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs at the beginning of a bring-into-view request participation. Allows customization of that participation.
// 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)