Export (0) Print
Expand All
Expand Minimize

Control.IsHandleCreated Property

Gets a value indicating whether the control has a handle associated with it.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public bool IsHandleCreated { get; }

Property Value

Type: System.Boolean
true if a handle has been assigned to the control; otherwise, false.

Use the IsHandleCreated property to determine whether CreateHandle has been called.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft