System.Drawing.Design.ToolboxItem.CreateComponents Method

Creates the components that the toolbox item is configured to create, using the specified designer host and default values.

Syntax

public System.ComponentModel.IComponent[] CreateComponents (System.ComponentModel.Design.IDesignerHost host, IDictionary defaultValues)

Parameters

host
The System.ComponentModel.Design.IDesignerHost to use when creating the components.
defaultValues
A dictionary of property name/value pairs of default values with which to initialize the component.

Returns

An array of created System.ComponentModel.IComponent objects.

Remarks

Requirements

Namespace: System.Drawing.Design
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 2.0.0.0