Adds a System.Drawing.Design
ToolboxItemCreatorCallback delegate that you can use to convert data that was pasted or dropped onto the toolbox into a ToolboxItem.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub AddCreator( _
ByVal creator As System.Drawing.Design.ToolboxItemCreatorCallback, _
ByVal format As System.String, _
ByVal host As System.ComponentModel.Design.IDesignerHost _
) |
C# | |
---|
public void AddCreator(
System.Drawing.Design.ToolboxItemCreatorCallback creator,
System.string format,
System.ComponentModel.Design.IDesignerHost host
) |
Parameters
- creator
- A System.Drawing.Design ToolboxItemCreatorCallback delegate.
- format
- A String that describes the data format that the creator handles.
- host
- A System.ComponentModel.Design IDesignerHost interface to associate with the creator. (This is not available in Visual Studio 2008.) If null (or Nothing in VB), the creator is available to any designer.
See Also