ParentControlDesigner::CanAddComponent Method (IComponent^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Called when a component is added to the parent container.
Assembly: System.Design (in System.Design.dll)
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component to test for errors.
Similar to the IsDropOK method, but allows for specific error messages. This method provides a chance to display the same error as is displayed at runtime.
.NET Framework
Available since 4.0
Available since 4.0
Show: