Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CreateParams.Parent Property

Gets or sets the control's parent.

[Visual Basic]
Public Property Parent As IntPtr
[C#]
public IntPtr Parent {get; set;}
[C++]
public: __property IntPtr get_Parent();
public: __property void set_Parent(IntPtr);
[JScript]
public function get Parent() : IntPtr;
public function set Parent(IntPtr);

Property Value

An IntPtr that contains the window handle of the control's parent.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CreateParams Class | CreateParams Members | System.Windows.Forms Namespace | Control.Handle

Show:
© 2015 Microsoft