This documentation is archived and is not being maintained.

ToolboxItem Methods

The ToolboxItem type exposes the following members.

  NameDescription
Protected method CheckUnlocked Throws an exception if the toolbox item is currently locked.
Public method CreateComponents() Creates the components that the toolbox item is configured to create.
Public method CreateComponents(IDesignerHost) Creates the components that the toolbox item is configured to create, using the specified designer host.
Public method CreateComponents(IDesignerHost, IDictionary) Creates the components that the toolbox item is configured to create, using the specified designer host and default values.
Protected method CreateComponentsCore(IDesignerHost) Creates a component or an array of components when the toolbox item is invoked.
Protected method CreateComponentsCore(IDesignerHost, IDictionary) Creates 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.
Public method Equals Determines whether two ToolboxItem instances are equal. (Overrides Object::Equals(Object).)
Protected method FilterPropertyValue Filters a property value before returning it.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object::GetHashCode().)
Public method GetType() Gets the Type of the current instance. (Inherited from Object.)
Public method GetType(IDesignerHost) Enables access to the type associated with the toolbox item.
Protected method GetType(IDesignerHost, AssemblyName, String, Boolean) Creates an instance of the specified type, optionally using a specified designer host and assembly name.
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.
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.
Public method ToString Returns a String that represents the current ToolboxItem. (Overrides Object::ToString().)
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.
Top

  NameDescription
Explicit interface implemetation Private method ISerializable::GetObjectData For a description of this member, see the GetObjectData method.
Top
Show: