AppWindow.Closed Evento

Definición

Se produce cuando se ha cerrado la ventana de la aplicación.

// Register
event_token Closed(TypedEventHandler<AppWindow, AppWindowClosedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppWindow::Closed_revoker Closed(auto_revoke_t, TypedEventHandler<AppWindow, AppWindowClosedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppWindow,AppWindowClosedEventArgs> Closed;
function onClosed(eventArgs) { /* Your code */ }
appWindow.addEventListener("closed", onClosed);
appWindow.removeEventListener("closed", onClosed);
- or -
appWindow.onclosed = onClosed;
Public Custom Event Closed As TypedEventHandler(Of AppWindow, AppWindowClosedEventArgs) 

Tipo de evento

Comentarios

Este evento va precedido de un evento CloseRequested .

Se aplica a

Consulte también