共用方式為


ScrollView.ExtentChanged 事件

定義

發生於 或 ExtentHeight 屬性變更時ExtentWidth

// 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) 

事件類型

適用於