Export (0) Print
Expand All

ExtenderControlToolboxItem Class

Provides a way to determine which target controls can be extended by a particular extender control in the toolbox.

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

[SerializableAttribute]
public class ExtenderControlToolboxItem : WebControlToolboxItem

The ExtenderControlToolboxItem type exposes the following members.

  NameDescription
Public methodExtenderControlToolboxItem()Initializes a new instance of the ExtenderControlToolboxItem class.
Public methodExtenderControlToolboxItem(Type)Initializes a new instance of the ExtenderControlToolboxItem class by using the specified type.
Protected methodExtenderControlToolboxItem(SerializationInfo, StreamingContext)Initializes a new instance of the ExtenderControlToolboxItem class by using the specified parameters.
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. (Inherited from WebControlToolboxItem.)
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. (Inherited from WebControlToolboxItem.)
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 methodGetTargetControlTypesReturns the collection of target types.
Public methodGetToolAttributeValueGets the value of the specified type of attribute of the toolbox item. (Inherited from WebControlToolboxItem.)
Public methodGetToolHtmlGets the HTML for the Web control that the tool creates. (Inherited from WebControlToolboxItem.)
Public methodGetToolTypeGets the type of this toolbox item. (Inherited from WebControlToolboxItem.)
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 methodInitializePre-fills the target-type cache entry with the specified type. (Overrides WebControlToolboxItem.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. (Inherited from WebControlToolboxItem.)
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

The GetTargetControlTypes method returns the collection of target types. The collection is cached for performance by using the Properties dictionary.

If you write an extender control that implements IExtenderControl, but that does not derive from ExtenderControl, specify this type in the ToolboxItemAttribute attribute of your control.

.NET Framework

Supported in: 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft