ParentControlDesigner::CanParent Method (Control^)

 

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

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

public:
virtual bool CanParent(
	Control^ control
)

Parameters

control
Type: System.Windows.Forms::Control^

The Control to test.

Return Value

Type: System::Boolean

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

This method indicates whether the control managed by the designer can parent the specified ControlDesigner.

.NET Framework
Available since 1.1
Return to top
Show: