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 的方法與功能外, ComponentDocumentDesignerIRootDesigner 實作介面,提供相關元件及任何巢狀元件的根級設計模式視圖。

備註

Control的根層設計模式通常Form由內建的根設計器提供。 在設計模式下,需要自訂 IRootDesigner 實作來提供其他類型的根元件檢視。

你可以用 DesignerAttribute

建構函式

名稱 Description
ComponentDocumentDesigner()

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

屬性

名稱 Description
ActionLists

取得與設計器相關元件所支援的設計時動作清單。

(繼承來源 ComponentDesigner)
AssociatedComponents

取得設計師管理的與該元件相關的元件集合。

(繼承來源 ComponentDesigner)
Component

取得設計師正在設計的元件。

(繼承來源 ComponentDesigner)
Control

他會為設計師取得控制權。

InheritanceAttribute

會獲得一個屬性,表示相關元件繼承的類型。

(繼承來源 ComponentDesigner)
Inherited

會得到一個值,表示該元件是否為繼承。

(繼承來源 ComponentDesigner)
ParentComponent

取得這個設計器的父元件。

(繼承來源 ComponentDesigner)
SetTextualDefaultProperty

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

(繼承來源 ComponentDesigner)
ShadowProperties

會取得一組屬性值,覆蓋使用者設定。

(繼承來源 ComponentDesigner)
TrayAutoArrange

會取得或設定一個值,指示設計師的元件托盤是否處於自動排列模式。

TrayLargeIcon

會取得或設定一個值,指示設計師的元件托盤是否處於大型圖示模式。

Verbs

取得與設計者相關元件所支援的設計時動詞。

(繼承來源 ComponentDesigner)

方法

名稱 Description
Dispose()

釋放所有由 ComponentDesigner.

(繼承來源 ComponentDesigner)
Dispose(Boolean)

釋放 未管理的資源, ComponentDocumentDesigner 並可選擇性地釋放受管理資源。

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)

得到 InheritanceAttribute 指定的 ComponentDesigner

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

明確介面實作

名稱 Description
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)

適用於

另請參閱