System.Windows.Forms.Control.HandleCreated Event

Occurs when a handle is created for the control.

Syntax

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

Remarks

A handle is created when the System.Windows.Forms.Control is displayed for the first time. For example, if a System.Windows.Forms.Control is created that has Control.Visible set to false, the Control.HandleCreated event will not be raised until Control.Visible is set to true.

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