IToolboxService::AddCreator Method (ToolboxItemCreatorCallback^, String^)
.NET Framework (current version)
Adds a new toolbox item creator for a specified data format.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- creator
-
Type:
System.Drawing.Design::ToolboxItemCreatorCallback^
A ToolboxItemCreatorCallback that can create a component when the toolbox item is invoked.
- format
-
Type:
System::String^
The data format that the creator handles.
A toolbox item creator can convert data of a particular data format that has been pasted or dropped on the toolbox into a ToolboxItem. If a creator handles more than one format, call AddCreator more than once. Unexpected behavior may result if you add more than one creator for the same format.
.NET Framework
Available since 1.1
Available since 1.1
Show: