Freigeben über


ScrollPresenter.ViewChanged Ereignis

Definition

Tritt auf, wenn Sich die Ansicht durch Manipulationen wie Scrollen und Zoomen geändert hat.

// Register
event_token ViewChanged(TypedEventHandler<ScrollPresenter, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
ScrollPresenter::ViewChanged_revoker ViewChanged(auto_revoke_t, TypedEventHandler<ScrollPresenter, IInspectable const&> const& handler) const;
public event TypedEventHandler<ScrollPresenter,object> ViewChanged;
function onViewChanged(eventArgs) { /* Your code */ }
scrollPresenter.addEventListener("viewchanged", onViewChanged);
scrollPresenter.removeEventListener("viewchanged", onViewChanged);
- or -
scrollPresenter.onviewchanged = onViewChanged;
Public Custom Event ViewChanged As TypedEventHandler(Of ScrollPresenter, Object) 

Ereignistyp

Gilt für: