ApplicationView.VisibleBoundsChanged 事件

定义

VisibleBounds 的值更改时引发此事件,通常是由于显示或隐藏状态栏、应用栏或其他部件版式的结果。

// Register
event_token VisibleBoundsChanged(TypedEventHandler<ApplicationView, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
ApplicationView::VisibleBoundsChanged_revoker VisibleBoundsChanged(auto_revoke_t, TypedEventHandler<ApplicationView, IInspectable const&> const& handler) const;
public event TypedEventHandler<ApplicationView,object> VisibleBoundsChanged;
function onVisibleBoundsChanged(eventArgs) { /* Your code */ }
applicationView.addEventListener("visibleboundschanged", onVisibleBoundsChanged);
applicationView.removeEventListener("visibleboundschanged", onVisibleBoundsChanged);
- or -
applicationView.onvisibleboundschanged = onVisibleBoundsChanged;
Public Custom Event VisibleBoundsChanged As TypedEventHandler(Of ApplicationView, Object) 

事件类型

适用于