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
InvalidOperationException InvalidOperationException InvalidOperationException InvalidOperationException
Once this event is raised, a window cannot be prevented from closing.