System.Windows.Forms.Design.ParentControlDesigner.CanParent Method

Indicates whether the specified control can be a child of the control managed by this designer.

Syntax

public virtual bool CanParent (System.Windows.Forms.Control control)

Parameters

control
The System.Windows.Forms.Control to test.

Returns

true if the specified control can be a child of the control managed by this designer; otherwise, false.

Remarks

This method indicates whether the control managed by the designer can parent the specified System.Windows.Forms.Design.ControlDesigner.

Requirements

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