AppBar.Opening 事件

定义

AppBar 开始从隐藏更改为可见时发生。

// Register
event_token Opening(EventHandler<IInspectable> const& handler) const;

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

// Revoke with event_revoker
AppBar::Opening_revoker Opening(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> Opening;
function onOpening(eventArgs) { /* Your code */ }
appBar.addEventListener("opening", onOpening);
appBar.removeEventListener("opening", onOpening);
- or -
appBar.onopening = onOpening;
Public Custom Event Opening As EventHandler(Of Object) 
<AppBar Opening="eventhandler"/>

事件类型

适用于