ExtenderControlToolboxItem Class
TOC
Collapse the table of content
Expand the table of content

ExtenderControlToolboxItem Class

.NET Framework (current version)
 

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)

System.Object
  System.Drawing.Design.ToolboxItem
    System.Web.UI.Design.WebControlToolboxItem
      System.Web.UI.Design.ExtenderControlToolboxItem

[SerializableAttribute]
public class ExtenderControlToolboxItem : WebControlToolboxItem

NameDescription
System_CAPS_pubmethodExtenderControlToolboxItem()

Initializes a new instance of the ExtenderControlToolboxItem class.

System_CAPS_protmethodExtenderControlToolboxItem(SerializationInfo, StreamingContext)

Initializes a new instance of the ExtenderControlToolboxItem class by using the specified parameters.

System_CAPS_pubmethodExtenderControlToolboxItem(Type)

Initializes a new instance of the ExtenderControlToolboxItem class by using the specified type.

NameDescription
System_CAPS_pubpropertyAssemblyName

Gets or sets the name of the assembly that contains the type or types that the toolbox item creates.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyBitmap

Gets or sets a bitmap to represent the toolbox item in the toolbox.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyCompany

Gets or sets the company name for this ToolboxItem.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyComponentType

Gets the component type for this ToolboxItem.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyDependentAssemblies

Gets or sets the AssemblyName for the toolbox item.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyDescription

Gets or sets the description for this ToolboxItem.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyDisplayName

Gets or sets the display name for the toolbox item.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyFilter

Gets or sets the filter that determines whether the toolbox item can be used on a destination component.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyIsTransient

Gets a value indicating whether the toolbox item is transient.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyLocked

Gets a value indicating whether the ToolboxItem is currently locked.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyOriginalBitmap

Gets or sets the original bitmap that will be used in the toolbox for this item.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyProperties

Gets a dictionary of properties.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyTypeName

Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked.(Inherited from ToolboxItem.)

System_CAPS_pubpropertyVersion

Gets the version for this ToolboxItem.(Inherited from ToolboxItem.)

NameDescription
System_CAPS_protmethodCheckUnlocked()

Throws an exception if the toolbox item is currently locked.(Inherited from ToolboxItem.)

System_CAPS_pubmethodCreateComponents()

Creates the components that the toolbox item is configured to create.(Inherited from ToolboxItem.)

System_CAPS_pubmethodCreateComponents(IDesignerHost)

Creates the components that the toolbox item is configured to create, using the specified designer host.(Inherited from ToolboxItem.)

System_CAPS_pubmethodCreateComponents(IDesignerHost, IDictionary)

Creates the components that the toolbox item is configured to create, using the specified designer host and default values.(Inherited from ToolboxItem.)

System_CAPS_protmethodCreateComponentsCore(IDesignerHost)

Creates objects from each type contained in this ToolboxItem, and adds them to the specified designer.(Inherited from WebControlToolboxItem.)

System_CAPS_protmethodCreateComponentsCore(IDesignerHost, IDictionary)

Creates an array of components when the toolbox item is invoked.(Inherited from ToolboxItem.)

System_CAPS_protmethodDeserialize(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Loads the state of the toolbox item from the specified serialization information object.(Inherited from WebControlToolboxItem.)

System_CAPS_pubmethodEquals(Object)

Determines whether two ToolboxItem instances are equal.(Inherited from ToolboxItem.)

System_CAPS_protmethodFilterPropertyValue(String, Object)

Filters a property value before returning it.(Inherited from ToolboxItem.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ToolboxItem.)

System_CAPS_pubmethodGetTargetControlTypes(IDesignerHost)

Returns the collection of target types.

System_CAPS_pubmethodGetToolAttributeValue(IDesignerHost, Type)

Gets the value of the specified type of attribute of the toolbox item.(Inherited from WebControlToolboxItem.)

System_CAPS_pubmethodGetToolHtml(IDesignerHost)

Gets the HTML for the Web control that the tool creates.(Inherited from WebControlToolboxItem.)

System_CAPS_pubmethodGetToolType(IDesignerHost)

Gets the type of this toolbox item.(Inherited from WebControlToolboxItem.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetType(IDesignerHost)

Enables access to the type associated with the toolbox item.(Inherited from ToolboxItem.)

System_CAPS_protmethodGetType(IDesignerHost, AssemblyName, String, Boolean)

Creates an instance of the specified type, optionally using a specified designer host and assembly name.(Inherited from ToolboxItem.)

System_CAPS_pubmethodInitialize(Type)

Pre-fills the target-type cache entry with the specified type.(Overrides WebControlToolboxItem.Initialize(Type).)

System_CAPS_pubmethodLock()

Locks the toolbox item and prevents changes to its properties.(Inherited from ToolboxItem.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnComponentsCreated(ToolboxComponentsCreatedEventArgs)

Raises the ComponentsCreated event.(Inherited from ToolboxItem.)

System_CAPS_protmethodOnComponentsCreating(ToolboxComponentsCreatingEventArgs)

Raises the ComponentsCreating event.(Inherited from ToolboxItem.)

System_CAPS_protmethodSerialize(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Saves the state of the toolbox item to the specified serialization information object.(Inherited from WebControlToolboxItem.)

System_CAPS_pubmethodToString()

Returns a String that represents the current ToolboxItem.(Inherited from ToolboxItem.)

System_CAPS_protmethodValidatePropertyType(String, Object, Type, Boolean)

Validates that an object is of a given type.(Inherited from ToolboxItem.)

System_CAPS_protmethodValidatePropertyValue(String, Object)

Validates a property before it is assigned to the property dictionary.(Inherited from ToolboxItem.)

NameDescription
System_CAPS_pubeventComponentsCreated

Occurs immediately after components are created.(Inherited from ToolboxItem.)

System_CAPS_pubeventComponentsCreating

Occurs when components are about to be created.(Inherited from ToolboxItem.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

For a description of this member, see the GetObjectData method.(Inherited from ToolboxItem.)

The M:System.Web.UI.Design.ExtenderControlToolboxItem.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
Available since 3.5

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

Return to top
Show:
© 2016 Microsoft