ParentControlDesigner::GetControl Method (Object^)

 

Gets the control from the designer of the specified component.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected:
Control^ GetControl(
	Object^ component
)

Parameters

component
Type: System::Object^

The component to retrieve the control for.

Return Value

Type: System.Windows.Forms::Control^

The Control that the specified component belongs to.

.NET Framework
Available since 1.1
Return to top
Show: