Edit

Share via


Control.GetContainerControl Method

Definition

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

public:
 System::Windows::Forms::IContainerControl ^ GetContainerControl();
public System.Windows.Forms.IContainerControl GetContainerControl ();
public System.Windows.Forms.IContainerControl? GetContainerControl ();
member this.GetContainerControl : unit -> System.Windows.Forms.IContainerControl
Public Function GetContainerControl () As IContainerControl

Returns

An IContainerControl, that represents the parent of the Control.

Applies to

See also