Export (0) Print
Expand All

WebControlToolboxItem Class

Provides a base class for a Web server control ToolboxItem.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[SerializableAttribute]
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public class WebControlToolboxItem : ToolboxItem

The WebControlToolboxItem type exposes the following members.

  NameDescription
Public methodWebControlToolboxItem()Initializes a new instance of the WebControlToolboxItem class.
Public methodWebControlToolboxItem(Type)Creates a new instance of the WebControlToolboxItem class using the provided type.
Protected methodWebControlToolboxItem(SerializationInfo, StreamingContext)Creates a new instance of the WebControlToolboxItem class using the provided SerializationInfo object and StreamingContext.
Top

  NameDescription
Public propertyAssemblyNameGets or sets the name of the assembly that contains the type or types that the toolbox item creates. (Inherited from ToolboxItem.)
Public propertyBitmapGets or sets a bitmap to represent the toolbox item in the toolbox. (Inherited from ToolboxItem.)
Public propertyCompanyGets or sets the company name for this ToolboxItem. (Inherited from ToolboxItem.)
Public propertyComponentTypeGets the component type for this ToolboxItem. (Inherited from ToolboxItem.)
Public propertyDependentAssembliesGets or sets the AssemblyName for the toolbox item. (Inherited from ToolboxItem.)
Public propertyDescriptionGets or sets the description for this ToolboxItem. (Inherited from ToolboxItem.)
Public propertyDisplayNameGets or sets the display name for the toolbox item. (Inherited from ToolboxItem.)
Public propertyFilterGets or sets the filter that determines whether the toolbox item can be used on a destination component. (Inherited from ToolboxItem.)
Public propertyIsTransientGets a value indicating whether the toolbox item is transient. (Inherited from ToolboxItem.)
Public propertyLockedGets a value indicating whether the ToolboxItem is currently locked. (Inherited from ToolboxItem.)
Public propertyPropertiesGets a dictionary of properties. (Inherited from ToolboxItem.)
Public propertyTypeNameGets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked. (Inherited from ToolboxItem.)
Public propertyVersionGets the version for this ToolboxItem. (Inherited from ToolboxItem.)
Top

  NameDescription
Protected methodCheckUnlockedThrows an exception if the toolbox item is currently locked. (Inherited from ToolboxItem.)
Public methodCreateComponents()Creates the components that the toolbox item is configured to create. (Inherited from ToolboxItem.)
Public methodCreateComponents(IDesignerHost)Creates the components that the toolbox item is configured to create, using the specified designer host. (Inherited from ToolboxItem.)
Public methodCreateComponents(IDesignerHost, IDictionary)Creates the components that the toolbox item is configured to create, using the specified designer host and default values. (Inherited from ToolboxItem.)
Protected methodCreateComponentsCore(IDesignerHost)Creates objects from each type contained in this ToolboxItem, and adds them to the specified designer. (Overrides ToolboxItem.CreateComponentsCore(IDesignerHost).)
Protected methodCreateComponentsCore(IDesignerHost, IDictionary)Creates an array of components when the toolbox item is invoked. (Inherited from ToolboxItem.)
Protected methodDeserializeInfrastructure. Loads the state of the toolbox item from the specified serialization information object. (Overrides ToolboxItem.Deserialize(SerializationInfo, StreamingContext).)
Public methodEqualsDetermines whether two ToolboxItem instances are equal. (Inherited from ToolboxItem.)
Protected methodFilterPropertyValueFilters a property value before returning it. (Inherited from ToolboxItem.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ToolboxItem.)
Public methodGetToolAttributeValueGets the value of the specified type of attribute of the toolbox item.
Public methodGetToolHtmlGets the HTML for the Web control that the tool creates.
Public methodGetToolTypeGets the type of this toolbox item.
Public methodGetType()Gets the Type of the current instance. (Inherited from Object.)
Public methodGetType(IDesignerHost)Enables access to the type associated with the toolbox item. (Inherited from ToolboxItem.)
Protected methodGetType(IDesignerHost, AssemblyName, String, Boolean)Creates an instance of the specified type, optionally using a specified designer host and assembly name. (Inherited from ToolboxItem.)
Public methodInitializeInitializes this toolbox item. (Overrides ToolboxItem.Initialize(Type).)
Public methodLockLocks the toolbox item and prevents changes to its properties. (Inherited from ToolboxItem.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnComponentsCreatedRaises the ComponentsCreated event. (Inherited from ToolboxItem.)
Protected methodOnComponentsCreatingRaises the ComponentsCreating event. (Inherited from ToolboxItem.)
Protected methodSerializeInfrastructure. Saves the state of the toolbox item to the specified serialization information object. (Overrides ToolboxItem.Serialize(SerializationInfo, StreamingContext).)
Public methodToStringReturns a String that represents the current ToolboxItem. (Inherited from ToolboxItem.)
Protected methodValidatePropertyTypeValidates that an object is of a given type. (Inherited from ToolboxItem.)
Protected methodValidatePropertyValueValidates a property before it is assigned to the property dictionary. (Inherited from ToolboxItem.)
Top

  NameDescription
Public eventComponentsCreatedOccurs immediately after components are created. (Inherited from ToolboxItem.)
Public eventComponentsCreatingOccurs when components are about to be created. (Inherited from ToolboxItem.)
Top

  NameDescription
Explicit interface implemetationPrivate methodISerializable.GetObjectDataFor a description of this member, see the GetObjectData method. (Inherited from ToolboxItem.)
Top

WebControlToolboxItem provides a base class for toolbox items that create Web server controls. This class extends ToolboxItem and provides the following additional methods:

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft