Share via


ScrollView.BringingIntoView Event

Definition

Occurs at the beginning of a bring-into-view request participation. Allows customization of that participation.

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

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

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

Event Type

Applies to