AppBar.Closed Evento

Definición

Se produce cuando la barra de aplicaciones cambia de visible a oculta.

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

Tipo de evento

Comentarios

Puedes responder a la barra de aplicaciones que se descarta controlando el evento Closed.

Se aplica a

Consulte también