ScrollView.BringingIntoView 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在引入视图请求参与的开头发生。 允许自定义该参与。
// 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)