Share via


ScrollView.ExtentChanged Event

Definition

Occurs when either the ExtentWidth or ExtentHeight properties has changed.

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

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

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

Event Type

Applies to