AppBar.Opening Event


Occurs when the AppBar starts to change from hidden to visible.

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

Event Type


The Opening event occurs before the transition animation begins.

Applies to