This documentation is archived and is not being maintained.

ToolboxItem Methods

The methods of the ToolboxItem class are listed here. For a complete list of ToolboxItem class members, see the ToolboxItem Members topic.

Public Methods

public methodCreateComponents Overloaded. Creates the components that the toolbox item is configured to create.
public methodEquals Overridden. See Object.Equals.
public methodGetHashCode Overridden. See Object.GetHashCode.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Initializes the current toolbox item with the specified type to create.
public methodLock Locks the toolbox item and prevents changes to its properties.
public methodToString Overridden. Provides support for Object's ToString method.

Protected Methods

protected methodCheckUnlocked Throws an exception if the toolbox item is currently locked.
protected methodCreateComponentsCore Creates a component or an array of components when the toolbox item is invoked.
protected methodDeserialize Loads the state of the toolbox item from the specified serialization information object.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetType Overloaded. Creates an instance of the specified type.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnComponentsCreated Raises the ComponentsCreated event.
protected methodOnComponentsCreating Raises the ComponentsCreating event.
protected methodSerialize Saves the state of the toolbox item to the specified serialization information object.

See Also

ToolboxItem Class | System.Drawing.Design Namespace

Show: