Window.Closed Window.Closed Window.Closed Window.Closed Event

定義

ウィンドウが閉じるときに発生します。Occurs when the window is about to close.

public:
 event EventHandler ^ Closed;
public event EventHandler Closed;
member this.Closed : EventHandler 
Public Custom Event Closed As EventHandler 

例外

Visibility 設定すると、またはShow()ShowDialog()、またはHide()ウィンドウを閉じて中に呼び出されます。Visibility is set, or Show(), ShowDialog(), or Hide() is called while a window is closing.

注釈

このイベントが発生すると、ウィンドウが閉じるを防ぐことはできません。Once this event is raised, a window cannot be prevented from closing.

適用対象

こちらもご覧ください