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.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also