This documentation is archived and is not being maintained.

ToolboxItem Members

ToolboxItem overview

Public Constructors

public constructorToolboxItem Constructor Overloaded. Initializes a new instance of the ToolboxItem class.

Public Properties

public propertyAssemblyName Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.
public propertyBitmap Gets or sets a bitmap to represent the toolbox item in the toolbox.
public propertyDisplayName Gets or sets the display name for the toolbox item.
public propertyFilter Gets or sets the filter that determines whether the toolbox item can be used on a destination component.
public propertyTypeName Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked.

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.

Public Events

public eventComponentsCreated Occurs immediately after components are created.
public eventComponentsCreating Occurs when components are about to be created.

Protected Properties

protected propertyLocked Gets a value indicating whether the ToolboxItem is currently locked.

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: