System.Drawing.Design.ToolboxItem: Method Members

The methods of System.Drawing.Design.ToolboxItem are listed below. For a list of all members, see the ToolboxItem Members list.

See Also: Inherited members from System.Object

Public Methods

CreateComponents() : System.ComponentModel.IComponent[]

Creates the components that the toolbox item is configured to create.

CreateComponents(System.ComponentModel.Design.IDesignerHost) : System.ComponentModel.IComponent[]

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

CreateComponents(System.ComponentModel.Design.IDesignerHost, IDictionary) : System.ComponentModel.IComponent[]

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

override
Equals(object) : bool

Determines whether two System.Drawing.Design.ToolboxItem instances are equal.

override
GetHashCode() : int

Returns the hash code for this instance.

GetType(System.ComponentModel.Design.IDesignerHost) : Type

Enables access to the type associated with the toolbox item.

Initialize(Type)

Initializes the current toolbox item with the specified type to create.

Lock()

Locks the toolbox item and prevents changes to its properties.

override
ToString() : string

Returns a string that represents the current System.Drawing.Design.ToolboxItem.

Protected Methods

CheckUnlocked()

Throws an exception if the toolbox item is currently locked.

CreateComponentsCore(System.ComponentModel.Design.IDesignerHost) : System.ComponentModel.IComponent[]

Creates a component or an array of components when the toolbox item is invoked.

CreateComponentsCore(System.ComponentModel.Design.IDesignerHost, IDictionary) : System.ComponentModel.IComponent[]

Creates an array of components when the toolbox item is invoked.

Deserialize(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Loads the state of the toolbox item from the specified serialization information object.

FilterPropertyValue(string, object) : object

Filters a property value before returning it.

GetType(System.ComponentModel.Design.IDesignerHost, System.Reflection.AssemblyName, string, bool) : Type

Creates an instance of the specified type, optionally using a specified designer host and assembly name.

OnComponentsCreated(ToolboxComponentsCreatedEventArgs)

Raises the ToolboxItem.ComponentsCreated event.

OnComponentsCreating(ToolboxComponentsCreatingEventArgs)

Raises the ToolboxItem.ComponentsCreating event.

Serialize(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Saves the state of the toolbox item to the specified serialization information object.

ValidatePropertyType(string, object, Type, bool)

Validates that an object is of a given type.

ValidatePropertyValue(string, object) : object

Validates a property before it is assigned to the property dictionary.