ComponentDocumentDesigner 類別

定義

擴充根設計文件之設計模式行為的基底設計工具類別,此根設計文件支援巢狀的元件。

public ref class ComponentDocumentDesigner : System::ComponentModel::Design::ComponentDesigner, IDisposable, System::ComponentModel::Design::IRootDesigner, System::ComponentModel::Design::ITypeDescriptorFilterService, System::Drawing::Design::IToolboxUser
public class ComponentDocumentDesigner : System.ComponentModel.Design.ComponentDesigner, IDisposable, System.ComponentModel.Design.IRootDesigner, System.ComponentModel.Design.ITypeDescriptorFilterService, System.Drawing.Design.IToolboxUser
type ComponentDocumentDesigner = class
    inherit ComponentDesigner
    interface IRootDesigner
    interface IDesigner
    interface IDisposable
    interface IToolboxUser
    interface ITypeDescriptorFilterService
Public Class ComponentDocumentDesigner
Inherits ComponentDesigner
Implements IDisposable, IRootDesigner, IToolboxUser, ITypeDescriptorFilterService
繼承
ComponentDocumentDesigner
實作

備註

ComponentDocumentDesigner 提供支援巢狀元件之根設計檔設計工具的基類。 除了繼承自 ComponentDesigner 類別的方法和功能之外, ComponentDocumentDesigner 還會實 IRootDesigner 作 介面,以提供相關聯元件的根層級設計模式檢視,以及任何巢狀元件。

注意

ControlForm 根層級設計模式檢視通常是由內建根設計工具提供。 需要自訂 IRootDesigner 實作,才能在設計模式中提供其他類型的根元件檢視。

您可以使用 建立設計工具與型別 DesignerAttribute 的關聯。 如需自訂設計階段行為的概觀,請參閱 擴充Design-Time支援

建構函式

ComponentDocumentDesigner()

初始化 ComponentDocumentDesigner 類別的新執行個體。

屬性

ActionLists

取得與設計工具相關之元件所支援的設計階段動作清單。

(繼承來源 ComponentDesigner)
AssociatedComponents

取得元件集合,該集合與設計工具管理的元件相關聯。

(繼承來源 ComponentDesigner)
Component

取得這個設計工具正在設計的元件。

(繼承來源 ComponentDesigner)
Control

取得設計工具的控制項。

InheritanceAttribute

取得屬性 (Attribute),表示相關元件的繼承 (Inheritance) 型別。

(繼承來源 ComponentDesigner)
Inherited

取得值,表示是否要繼承這個元件。

(繼承來源 ComponentDesigner)
ParentComponent

取得這個設計工具的父元件。

(繼承來源 ComponentDesigner)
SetTextualDefaultProperty

擴充根設計文件之設計模式行為的基底設計工具類別,此根設計文件支援巢狀的元件。

(繼承來源 ComponentDesigner)
ShadowProperties

取得覆寫使用者設定的屬性值集合。

(繼承來源 ComponentDesigner)
TrayAutoArrange

取得或設定一個數值,指出設計工具的元件匣是否為自動排列模式。

TrayLargeIcon

取得或設定一個數值,指出設計工具的元件匣是否為大圖示模式。

Verbs

取得與設計工具相關元件所支援的設計階段動詞命令 (Verb)。

(繼承來源 ComponentDesigner)

方法

Dispose()

釋放 ComponentDesigner 所使用的所有資源。

(繼承來源 ComponentDesigner)
Dispose(Boolean)

釋放 ComponentDocumentDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

DoDefaultAction()

在元件上預設事件的原始程式碼檔案中建立方法簽章,並將使用者的游標巡覽至該位置。

(繼承來源 ComponentDesigner)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetService(Type)

嘗試從設計工具元件的設計模式站台擷取指定的服務類型。

(繼承來源 ComponentDesigner)
GetToolSupported(ToolboxItem)

取得值,指出設計工具是否支援指定的工具。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Initialize(IComponent)

使用指定的元件,初始化設計工具。

InitializeExistingComponent(IDictionary)

重新初始化現有的元件。

(繼承來源 ComponentDesigner)
InitializeNewComponent(IDictionary)

初始化新建立的元件。

(繼承來源 ComponentDesigner)
InitializeNonDefault()
已淘汰.
已淘汰.

初始化已初始化為預設值以外設定的匯入元件設定。

(繼承來源 ComponentDesigner)
InvokeGetInheritanceAttribute(ComponentDesigner)

取得指定 InheritanceAttributeComponentDesigner

(繼承來源 ComponentDesigner)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
OnSetComponentDefaults()
已淘汰.
已淘汰.

設定元件的預設屬性。

(繼承來源 ComponentDesigner)
PostFilterAttributes(IDictionary)

允許設計工具變更或移除它經由 TypeDescriptor 公開的屬性集中的項目。

(繼承來源 ComponentDesigner)
PostFilterEvents(IDictionary)

允許設計工具變更或移除它經由 TypeDescriptor 公開的事件集中的項目。

(繼承來源 ComponentDesigner)
PostFilterProperties(IDictionary)

允許設計工具變更或移除它經由 TypeDescriptor 公開的屬性集中的項目。

(繼承來源 ComponentDesigner)
PreFilterAttributes(IDictionary)

允許設計工具加入至它經由 TypeDescriptor 公開的屬性集。

(繼承來源 ComponentDesigner)
PreFilterEvents(IDictionary)

允許設計工具加入至它經由 TypeDescriptor 公開的事件集。

(繼承來源 ComponentDesigner)
PreFilterProperties(IDictionary)

調整元件透過 TypeDescriptor 公開的屬性集。

RaiseComponentChanged(MemberDescriptor, Object, Object)

告知 IComponentChangeService 這個元件已經變更。

(繼承來源 ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)

告知 IComponentChangeService 這個元件正要變更。

(繼承來源 ComponentDesigner)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IDesignerFilter.PostFilterAttributes(IDictionary)

如需這個成員的描述,請參閱 PostFilterAttributes(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IDesignerFilter.PostFilterEvents(IDictionary)

如需這個成員的描述,請參閱 PostFilterEvents(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IDesignerFilter.PostFilterProperties(IDictionary)

如需這個成員的描述,請參閱 PostFilterProperties(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary)

如需這個成員的描述,請參閱 PreFilterAttributes(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IDesignerFilter.PreFilterEvents(IDictionary)

如需這個成員的描述,請參閱 PreFilterEvents(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IDesignerFilter.PreFilterProperties(IDictionary)

如需這個成員的描述,請參閱 PreFilterProperties(IDictionary) 方法。

(繼承來源 ComponentDesigner)
IRootDesigner.GetView(ViewTechnology)

如需這個成員的說明,請參閱 ViewTechnology

IRootDesigner.SupportedTechnologies

如需這個成員的說明,請參閱 SupportedTechnologies

IToolboxUser.GetToolSupported(ToolboxItem)

如需這個成員的說明,請參閱 GetToolSupported(ToolboxItem)

IToolboxUser.ToolPicked(ToolboxItem)

如需這個成員的說明,請參閱 ToolPicked(ToolboxItem)

ITreeDesigner.Children

如需這個成員的描述,請參閱 Children 屬性。

(繼承來源 ComponentDesigner)
ITreeDesigner.Parent

如需這個成員的描述,請參閱 Parent 屬性。

(繼承來源 ComponentDesigner)
ITypeDescriptorFilterService.FilterAttributes(IComponent, IDictionary)

如需這個成員的說明,請參閱 FilterAttributes(IComponent, IDictionary)

ITypeDescriptorFilterService.FilterEvents(IComponent, IDictionary)

如需這個成員的說明,請參閱 FilterEvents(IComponent, IDictionary)

ITypeDescriptorFilterService.FilterProperties(IComponent, IDictionary)

如需這個成員的說明,請參閱 FilterProperties(IComponent, IDictionary)

適用於

另請參閱