AppWindow.Closed イベント

定義

アプリ ウィンドウが閉じられたときに発生します。

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

イベントの種類

注釈

このイベントの前に CloseRequested イベントがあります

適用対象

こちらもご覧ください