Freigeben über


AppWindow.Closed Ereignis

Definition

Tritt auf, wenn das App-Fenster geschlossen wurde.

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

Ereignistyp

Hinweise

Diesem Ereignis wird ein CloseRequested-Ereignis vorangestellt .

Gilt für:

Weitere Informationen