ParentControlDesigner.CanAddComponent Method (IComponent)
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)
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.
Available since 4.0