ExtenderControlToolboxItem 类

定义

提供一种方法来确定哪些目标控件可由工具箱中的特定扩展程序控件扩展。

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
继承
ExtenderControlToolboxItem
属性

注解

该方法 GetTargetControlTypes 返回目标类型的集合。 使用字典缓存该集合以提升性能 Properties

如果编写实现 IExtenderControl但不派生自 ExtenderControl的扩展程序控件,请在控件的属性中 ToolboxItemAttribute 指定此类型。

构造函数

名称 说明
ExtenderControlToolboxItem()

初始化 ExtenderControlToolboxItem 类的新实例。

ExtenderControlToolboxItem(SerializationInfo, StreamingContext)

使用指定的参数初始化类的新实例 ExtenderControlToolboxItem

ExtenderControlToolboxItem(Type)

使用指定的类型初始化类的新实例 ExtenderControlToolboxItem

属性

名称 说明
AssemblyName

获取或设置包含工具箱项创建的类型或类型的程序集的名称。

(继承自 ToolboxItem)
Bitmap

获取或设置一个位图以表示工具箱中的工具箱项。

(继承自 ToolboxItem)
Company

获取或设置此 ToolboxItem名称的公司名称。

(继承自 ToolboxItem)
ComponentType

获取此 ToolboxItem组件的组件类型。

(继承自 ToolboxItem)
DependentAssemblies

获取或设置 AssemblyName 工具箱项。

(继承自 ToolboxItem)
Description

获取或设置此 ToolboxItem说明。

(继承自 ToolboxItem)
DisplayName

获取或设置工具箱项的显示名称。

(继承自 ToolboxItem)
Filter

获取或设置筛选器,该筛选器确定工具箱项是否可用于目标组件。

(继承自 ToolboxItem)
IsTransient

获取一个值,该值指示工具箱项是否为暂时性项。

(继承自 ToolboxItem)
Locked

获取一个值,该值指示当前是否已 ToolboxItem 锁定。

(继承自 ToolboxItem)
OriginalBitmap

获取或设置将在此项的工具箱中使用的原始位图。

(继承自 ToolboxItem)
Properties

获取属性的字典。

(继承自 ToolboxItem)
TypeName

获取或设置工具箱项在调用时创建的类型的 IComponent 完全限定名称。

(继承自 ToolboxItem)
Version

获取此 ToolboxItem版本。

(继承自 ToolboxItem)

方法

名称 说明
CheckUnlocked()

如果工具箱项当前处于锁定状态,则引发异常。

(继承自 ToolboxItem)
CreateComponents()

创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponents(IDesignerHost, IDictionary)

使用指定的设计器主机和默认值创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponents(IDesignerHost)

使用指定的设计器主机创建工具箱项配置为创建的组件。

(继承自 ToolboxItem)
CreateComponentsCore(IDesignerHost, IDictionary)

调用工具箱项时,创建组件数组。

(继承自 ToolboxItem)
CreateComponentsCore(IDesignerHost)

从此 ToolboxItem包含的每个类型创建对象,并将其添加到指定的设计器中。

(继承自 WebControlToolboxItem)
Deserialize(SerializationInfo, StreamingContext)

从指定的序列化信息对象加载工具箱项的状态。

(继承自 WebControlToolboxItem)
Equals(Object)

确定两个 ToolboxItem 实例是否相等。

(继承自 ToolboxItem)
FilterPropertyValue(String, Object)

在返回之前筛选属性值。

(继承自 ToolboxItem)
GetHashCode()

返回此实例的哈希代码。

(继承自 ToolboxItem)
GetTargetControlTypes(IDesignerHost)

返回目标类型的集合。

GetToolAttributeValue(IDesignerHost, Type)

获取工具箱项的指定属性类型的值。

(继承自 WebControlToolboxItem)
GetToolHtml(IDesignerHost)

获取工具创建的 Web 控件的 HTML。

(继承自 WebControlToolboxItem)
GetToolType(IDesignerHost)

获取此工具箱项的类型。

(继承自 WebControlToolboxItem)
GetType()

获取当前实例的 Type

(继承自 Object)
GetType(IDesignerHost, AssemblyName, String, Boolean)

使用指定的设计器主机和程序集名称(可选)创建指定类型的实例。

(继承自 ToolboxItem)
GetType(IDesignerHost)

允许访问与工具箱项关联的类型。

(继承自 ToolboxItem)
Initialize(Type)

使用指定类型预填充目标类型缓存项。

Lock()

锁定工具箱项并阻止更改其属性。

(继承自 ToolboxItem)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
OnComponentsCreated(ToolboxComponentsCreatedEventArgs)

引发 ComponentsCreated 事件。

(继承自 ToolboxItem)
OnComponentsCreating(ToolboxComponentsCreatingEventArgs)

引发 ComponentsCreating 事件。

(继承自 ToolboxItem)
Serialize(SerializationInfo, StreamingContext)

将工具箱项的状态保存到指定的序列化信息对象。

(继承自 WebControlToolboxItem)
ToString()

返回一个 String 表示当前 ToolboxItem类型的值。

(继承自 ToolboxItem)
ValidatePropertyType(String, Object, Type, Boolean)

验证对象是否为给定类型。

(继承自 ToolboxItem)
ValidatePropertyValue(String, Object)

在将属性分配给属性字典之前验证该属性。

(继承自 ToolboxItem)

活动

名称 说明
ComponentsCreated

创建组件后立即发生。

(继承自 ToolboxItem)
ComponentsCreating

在即将创建组件时发生。

(继承自 ToolboxItem)

显式接口实现

名称 说明
ISerializable.GetObjectData(SerializationInfo, StreamingContext)

有关此成员的说明,请参阅 GetObjectData(SerializationInfo, StreamingContext) 方法。

(继承自 ToolboxItem)

适用于