다음을 통해 공유


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 이벤트가 발생합니다.

적용 대상

추가 정보