ExtenderControlToolboxItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a way to determine which target controls can be extended by a particular extender control in the toolbox.
public ref class ExtenderControlToolboxItem : System::Web::UI::Design::WebControlToolboxItem
[System.Serializable]
public class ExtenderControlToolboxItem : System.Web.UI.Design.WebControlToolboxItem
[<System.Serializable>]
type ExtenderControlToolboxItem = class
inherit WebControlToolboxItem
Public Class ExtenderControlToolboxItem
Inherits WebControlToolboxItem
- Inheritance
- Attributes
Remarks
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.
Constructors
ExtenderControlToolboxItem() |
Initializes a new instance of the ExtenderControlToolboxItem class. |
ExtenderControlToolboxItem(SerializationInfo, StreamingContext) |
Initializes a new instance of the ExtenderControlToolboxItem class by using the specified parameters. |
ExtenderControlToolboxItem(Type) |
Initializes a new instance of the ExtenderControlToolboxItem class by using the specified type. |
Properties
AssemblyName |
Gets or sets the name of the assembly that contains the type or types that the toolbox item creates. (Inherited from ToolboxItem) |
Bitmap |
Gets or sets a bitmap to represent the toolbox item in the toolbox. (Inherited from ToolboxItem) |
Company |
Gets or sets the company name for this ToolboxItem. (Inherited from ToolboxItem) |
ComponentType |
Gets the component type for this ToolboxItem. (Inherited from ToolboxItem) |
DependentAssemblies |
Gets or sets the AssemblyName for the toolbox item. (Inherited from ToolboxItem) |
Description |
Gets or sets the description for this ToolboxItem. (Inherited from ToolboxItem) |
DisplayName |
Gets or sets the display name for the toolbox item. (Inherited from ToolboxItem) |
Filter |
Gets or sets the filter that determines whether the toolbox item can be used on a destination component. (Inherited from ToolboxItem) |
IsTransient |
Gets a value indicating whether the toolbox item is transient. (Inherited from ToolboxItem) |
Locked |
Gets a value indicating whether the ToolboxItem is currently locked. (Inherited from ToolboxItem) |
OriginalBitmap |
Gets or sets the original bitmap that will be used in the toolbox for this item. (Inherited from ToolboxItem) |
Properties |
Gets a dictionary of properties. (Inherited from ToolboxItem) |
TypeName |
Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked. (Inherited from ToolboxItem) |
Version |
Gets the version for this ToolboxItem. (Inherited from ToolboxItem) |
Methods
CheckUnlocked() |
Throws an exception if the toolbox item is currently locked. (Inherited from ToolboxItem) |
CreateComponents() |
Creates the components that the toolbox item is configured to create. (Inherited from ToolboxItem) |
CreateComponents(IDesignerHost) |
Creates the components that the toolbox item is configured to create, using the specified designer host. (Inherited from ToolboxItem) |
CreateComponents(IDesignerHost, IDictionary) |
Creates the components that the toolbox item is configured to create, using the specified designer host and default values. (Inherited from ToolboxItem) |
CreateComponentsCore(IDesignerHost) |
Creates objects from each type contained in this ToolboxItem, and adds them to the specified designer. (Inherited from WebControlToolboxItem) |
CreateComponentsCore(IDesignerHost, IDictionary) |
Creates an array of components when the toolbox item is invoked. (Inherited from ToolboxItem) |
Deserialize(SerializationInfo, StreamingContext) |
Loads the state of the toolbox item from the specified serialization information object. (Inherited from WebControlToolboxItem) |
Equals(Object) |
Determines whether two ToolboxItem instances are equal. (Inherited from ToolboxItem) |
FilterPropertyValue(String, Object) |
Filters a property value before returning it. (Inherited from ToolboxItem) |
GetHashCode() |
Returns the hash code for this instance. (Inherited from ToolboxItem) |
GetTargetControlTypes(IDesignerHost) |
Returns the collection of target types. |
GetToolAttributeValue(IDesignerHost, Type) |
Gets the value of the specified type of attribute of the toolbox item. (Inherited from WebControlToolboxItem) |
GetToolHtml(IDesignerHost) |
Gets the HTML for the Web control that the tool creates. (Inherited from WebControlToolboxItem) |
GetToolType(IDesignerHost) |
Gets the type of this toolbox item. (Inherited from WebControlToolboxItem) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
GetType(IDesignerHost) |
Enables access to the type associated with the toolbox item. (Inherited from ToolboxItem) |
GetType(IDesignerHost, AssemblyName, String, Boolean) |
Creates an instance of the specified type, optionally using a specified designer host and assembly name. (Inherited from ToolboxItem) |
Initialize(Type) |
Pre-fills the target-type cache entry with the specified type. |
Lock() |
Locks the toolbox item and prevents changes to its properties. (Inherited from ToolboxItem) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
OnComponentsCreated(ToolboxComponentsCreatedEventArgs) |
Raises the ComponentsCreated event. (Inherited from ToolboxItem) |
OnComponentsCreating(ToolboxComponentsCreatingEventArgs) |
Raises the ComponentsCreating event. (Inherited from ToolboxItem) |
Serialize(SerializationInfo, StreamingContext) |
Saves the state of the toolbox item to the specified serialization information object. (Inherited from WebControlToolboxItem) |
ToString() |
Returns a String that represents the current ToolboxItem. (Inherited from ToolboxItem) |
ValidatePropertyType(String, Object, Type, Boolean) |
Validates that an object is of a given type. (Inherited from ToolboxItem) |
ValidatePropertyValue(String, Object) |
Validates a property before it is assigned to the property dictionary. (Inherited from ToolboxItem) |
Events
ComponentsCreated |
Occurs immediately after components are created. (Inherited from ToolboxItem) |
ComponentsCreating |
Occurs when components are about to be created. (Inherited from ToolboxItem) |
Explicit Interface Implementations
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
For a description of this member, see the GetObjectData(SerializationInfo, StreamingContext) method. (Inherited from ToolboxItem) |