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();

Returns

An IContainerControl, that represents the parent of the Control.

Applies to

See also