ParentControlDesigner.GetControl(Object) Method

Definition

Gets the control from the designer of the specified component.

protected:
 System::Windows::Forms::Control ^ GetControl(System::Object ^ component);
protected System.Windows.Forms.Control GetControl (object component);
member this.GetControl : obj -> System.Windows.Forms.Control
Protected Function GetControl (component As Object) As Control

Parameters

component
Object

The component to retrieve the control for.

Returns

The Control that the specified component belongs to.

Applies to

See also