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
Expand Minimize

Control.GetContainerControl Method

Returns the next ContainerControl up the control's chain of parent controls.

[Visual Basic]
Public Function GetContainerControl() As IContainerControl
public IContainerControl GetContainerControl();
public: IContainerControl* GetContainerControl();
public function GetContainerControl() : IContainerControl;

Return Value

An IContainerControl object, that represents the parent of the Control.


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

.NET Framework Security: 

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Parent | ContainerControl | IContainerControl

© 2015 Microsoft