Jaa


AppBar.Opened Event

Definition

Occurs when the AppBar changes from hidden to visible.

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

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

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

Event Type

Remarks

You can respond to the app bar being opened by handling the Opened event.

Applies to

See also