ScrollPresenter.ExtentChanged 事件

定义

当 或 ExtentHeight 属性发生更改时ExtentWidth发生。

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

事件类型

适用于