Control.GetContainerControl Control.GetContainerControl Control.GetContainerControl 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 ();
member this.GetContainerControl : unit -> System.Windows.Forms.IContainerControl
Public Function GetContainerControl () As IContainerControl

Returns

Security

UIPermission
for all windows to call this method. Associated enumeration: AllWindows value of UIPermissionWindow.

Applies to

See also