AppBar.Closed Event

Definition

Occurs when the AppBar changes from visible to hidden.

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

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

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

Event Type

EventHandler<Object>

EventHandler<Object>

Remarks

You can respond to the app bar being dismissed by handling the Closed event.

Applies to

See also