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) 

事件类型

适用于