System.Windows.Forms.Control.Handle Property

Gets the window handle that the control is bound to.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
[System.Runtime.InteropServices.DispId(-515)]
public IntPtr Handle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of the Control.Handle property is a Windows HWND. If the handle has not yet been created, referencing this property will force the handle to be created.

Requirements

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