Share via


ScrollPresenter.ExtentChanged Event

Definition

Occurs when either the ExtentWidth or ExtentHeight properties has changed.

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

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

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

Event Type

Applies to