Compartilhar via


ScrollPresenter.AnchorRequested Evento

Definição

Ocorre quando o ScrollView está prestes a selecionar um elemento de âncora.

// Register
event_token AnchorRequested(TypedEventHandler<ScrollPresenter, ScrollingAnchorRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ScrollPresenter::AnchorRequested_revoker AnchorRequested(auto_revoke_t, TypedEventHandler<ScrollPresenter, ScrollingAnchorRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<ScrollPresenter,ScrollingAnchorRequestedEventArgs> AnchorRequested;
function onAnchorRequested(eventArgs) { /* Your code */ }
scrollPresenter.addEventListener("anchorrequested", onAnchorRequested);
scrollPresenter.removeEventListener("anchorrequested", onAnchorRequested);
- or -
scrollPresenter.onanchorrequested = onAnchorRequested;
Public Custom Event AnchorRequested As TypedEventHandler(Of ScrollPresenter, ScrollingAnchorRequestedEventArgs) 

Tipo de evento

Aplica-se a