System.Windows.Forms.Design.ParentControlDesigner.GetParentForComponent Method

Used by deriving classes to determine if it returns the control being designed or some other System.ComponentModel.Container while adding a component to it.

Syntax

protected virtual System.Windows.Forms.Control GetParentForComponent (System.ComponentModel.IComponent component)

Parameters

component
The component for which to retrieve the parent System.Windows.Forms.Control.

Returns

The parent System.Windows.Forms.Control for the component.

Remarks

Documentation for this section has not yet been entered.

Requirements

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