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

取得值,指出工具箱項目是否為暫時性 (Transient)。

(繼承來源 ToolboxItem)
Locked

取得值,指出 ToolboxItem 目前是否已鎖定。

(繼承來源 ToolboxItem)
OriginalBitmap

取得或設定此項目工具箱中將使用的原始點陣圖。

(繼承來源 ToolboxItem)
Properties

取得屬性的字典。

(繼承來源 ToolboxItem)
TypeName

取得或設定叫用工具箱項目時所建立的 IComponent 的型別完整名稱。

(繼承來源 ToolboxItem)
Version

取得這個 ToolboxItem 的版本。

(繼承來源 ToolboxItem)

方法

CheckUnlocked()

如果工具箱項目目前是鎖定的,則會擲回例外狀況。

(繼承來源 ToolboxItem)
CreateComponents()

建立工具箱項目受到設定要建立的元件。

(繼承來源 ToolboxItem)
CreateComponents(IDesignerHost)

使用指定的設計工具主應用程式 (Designer Host),建立工具箱項目受到設定要建立的元件。

(繼承來源 ToolboxItem)
CreateComponents(IDesignerHost, IDictionary)

使用指定的設計工具主應用程式 (Designer Host) 和預設值,建立工具箱項目設定為要建立的元件。

(繼承來源 ToolboxItem)
CreateComponentsCore(IDesignerHost)

從這個 ToolboxItem 中所包含的每一個型別建立物件,然後將它們加入至指定的設計工具。

(繼承來源 WebControlToolboxItem)
CreateComponentsCore(IDesignerHost, IDictionary)

在叫用工具箱項目時建立元件陣列。

(繼承來源 ToolboxItem)
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)

啟用對與工具箱項目關聯之類型的存取。

(繼承來源 ToolboxItem)
GetType(IDesignerHost, AssemblyName, String, Boolean)

建立指定類型的執行個體,並選擇性使用指定的設計工具主應用程式和組件名稱。

(繼承來源 ToolboxItem)
Initialize(Type)

以指定的型別預先填入目標型別快取項目。

Lock()

鎖定工具箱項目並防止變更其屬性。

(繼承來源 ToolboxItem)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnComponentsCreated(ToolboxComponentsCreatedEventArgs)

引發 ComponentsCreated 事件。

(繼承來源 ToolboxItem)
OnComponentsCreating(ToolboxComponentsCreatingEventArgs)

引發 ComponentsCreating 事件。

(繼承來源 ToolboxItem)
Serialize(SerializationInfo, StreamingContext)

將工具箱項目的狀態儲存到指定的序列化資訊物件。

(繼承來源 WebControlToolboxItem)
ToString()

傳回代表目前 ToolboxItemString

(繼承來源 ToolboxItem)
ValidatePropertyType(String, Object, Type, Boolean)

驗證物件是否為指定類型。

(繼承來源 ToolboxItem)
ValidatePropertyValue(String, Object)

將屬性指派給屬性字典前驗證屬性。

(繼承來源 ToolboxItem)

事件

ComponentsCreated

立即發生於建立元件之後。

(繼承來源 ToolboxItem)
ComponentsCreating

發生於即將建立元件時。

(繼承來源 ToolboxItem)

明確介面實作

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

如需這個成員的描述,請參閱 GetObjectData(SerializationInfo, StreamingContext) 方法。

(繼承來源 ToolboxItem)

適用於