AppBar.Opened Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
// 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.