ToolboxItem::CreateComponentsCore Method (IDesignerHost^)
.NET Framework (current version)
Creates a component or an array of components when the toolbox item is invoked.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- host
-
Type:
System.ComponentModel.Design::IDesignerHost^
The IDesignerHost to host the toolbox item.
Return Value
Type: array<System.ComponentModel::IComponent^>^An array of created IComponent objects.
If host is not null, the CreateComponentsCore method adds the new components to the designer.
Notes to Inheritors:
You can override the CreateComponentsCore method to return the component or components that a toolbox item creates.
.NET Framework
Available since 1.1
Available since 1.1
Show: