Window.Closed Evento

Definición

Se produce cuando la ventana está a punto de cerrarse.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 

Excepciones

Se establece la propiedad Visibility o se llama a Show(), ShowDialog() o Hide() mientras se cierra una ventana.Visibility is set, or Show(), ShowDialog(), or Hide() is called while a window is closing.

Comentarios

Una vez que se genera este evento, no se puede evitar el cierre de una ventana.Once this event is raised, a window cannot be prevented from closing.

Se aplica a

Consulte también: