Returns the next
System.Windows.Forms.ContainerControl up the control's chain of parent controls.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function GetContainerControl() As System.Windows.Forms.IContainerControl |
| C# | |
|---|
public System.Windows.Forms.IContainerControl GetContainerControl() |
Return Value
An
System.Windows.Forms.IContainerControl, that represents the parent of the
System.Windows.Forms.Control.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also