This documentation is archived and is not being maintained.

ToolboxItem Members

Provides a base implementation of a toolbox item.

The following tables list the members exposed by the ToolboxItem type.

  Name Description
Public method ToolboxItem Overloaded. Initializes a new instance of the ToolboxItem class.

  Name Description
Public property AssemblyName Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.
Public property Bitmap Gets or sets a bitmap to represent the toolbox item in the toolbox.
Public property Company Gets or sets the company name for this ToolboxItem.
Public property ComponentType Gets the component type for this ToolboxItem.
Public property DependentAssemblies Gets or sets the AssemblyName for the toolbox item.
Public property Description Gets or sets the description for this ToolboxItem.
Public property DisplayName Gets or sets the display name for the toolbox item.
Public property Filter Gets or sets the filter that determines whether the toolbox item can be used on a destination component.
Public property IsTransient Gets a value indicating whether the toolbox item is transient.
Public property Locked Gets a value indicating whether the ToolboxItem is currently locked.
Public property Properties Gets a dictionary of properties.
Public property TypeName Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked.
Public property Version Gets the version for this ToolboxItem.

(see also Protected Methods )
  Name Description
Public method CreateComponents Overloaded. Creates the components that the toolbox item is configured to create.
Public method Equals Overloaded. Overridden. Determines whether two ToolboxItem instances are equal.
Public method GetHashCode Overridden. Returns the hash code for this instance.
Public method GetType Overloaded. Creates an instance of the specified type.
Public method Initialize Initializes the current toolbox item with the specified type to create.
Public method Lock Locks the toolbox item and prevents changes to its properties.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns a String that represents the current ToolboxItem.

  Name Description
Protected method CheckUnlocked Throws an exception if the toolbox item is currently locked.
Protected method CreateComponentsCore Overloaded. Creates a component or an array of components when the toolbox item is invoked.
Protected method Deserialize Loads the state of the toolbox item from the specified serialization information object.
Protected method FilterPropertyValue Filters a property value before returning it.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetType Overloaded. Creates an instance of the specified type.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnComponentsCreated Raises the ComponentsCreated event.
Protected method OnComponentsCreating Raises the ComponentsCreating event.
Protected method Serialize Saves the state of the toolbox item to the specified serialization information object.
Protected method ValidatePropertyType Validates that an object is of a given type.
Protected method ValidatePropertyValue Validates a property before it is assigned to the property dictionary.

  Name Description
Public event ComponentsCreated Occurs immediately after components are created.
Public event ComponentsCreating Occurs when components are about to be created.

  Name Description
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData For a description of this member, see the GetObjectData method.