Export (0) Print
Expand All

IToolboxService.AddCreator Method (ToolboxItemCreatorCallback, String)

Adds a new toolbox item creator for a specified data format.

Namespace: System.Drawing.Design
Assembly: System.Drawing (in system.drawing.dll)

void AddCreator (
	ToolboxItemCreatorCallback creator,
	string format
)
void AddCreator (
	ToolboxItemCreatorCallback creator, 
	String format
)
function AddCreator (
	creator : ToolboxItemCreatorCallback, 
	format : String
)
Not applicable.

Parameters

creator

A ToolboxItemCreatorCallback that can create a component when the toolbox item is invoked.

format

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft