System.Windows.Forms.Control.HandleDestroyed Event

Occurs when the control's handle is in the process of being destroyed.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public event EventHandler HandleDestroyed

Remarks

During the Control.HandleDestroyed event, the control is still a valid Windows control and the Control.Handle can be recreated by calling the Control.RecreateHandle method.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0