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 接口,为关联的组件和任何嵌套组件提供根级设计模式视图。

注释

根级设计模式视图FormControl通常由内置根设计器提供。 需要自定义 IRootDesigner 实现才能在设计模式下为其他类型的根组件提供视图。

可以使用 将设计器与类型 相关联。

构造函数

名称 说明
ComponentDocumentDesigner()

初始化 ComponentDocumentDesigner 类的新实例。

属性

名称 说明
ActionLists

获取与设计器关联的组件支持的设计时操作列表。

(继承自 ComponentDesigner)
AssociatedComponents

获取与设计器管理的组件关联的组件的集合。

(继承自 ComponentDesigner)
Component

获取此设计器正在设计的组件。

(继承自 ComponentDesigner)
Control

获取设计器的控件。

InheritanceAttribute

获取一个属性,该特性指示关联组件的继承类型。

(继承自 ComponentDesigner)
Inherited

获取一个值,该值指示是否继承此组件。

(继承自 ComponentDesigner)
ParentComponent

获取此设计器的父组件。

(继承自 ComponentDesigner)
SetTextualDefaultProperty

用于扩展支持嵌套组件的根设计文档的设计模式行为的基设计器类。

(继承自 ComponentDesigner)
ShadowProperties

获取替代用户设置的属性值的集合。

(继承自 ComponentDesigner)
TrayAutoArrange

获取或设置一个值,该值指示设计器的组件托盘是否处于自动排列模式。

TrayLargeIcon

获取或设置一个值,该值指示设计器的组件托盘是否处于大型图标模式。

Verbs

获取与设计器关联的组件支持的设计时谓词。

(继承自 ComponentDesigner)

方法

名称 说明
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)

允许设计器从它通过 a TypeDescriptor. 公开的属性集中更改或删除项。

(继承自 ComponentDesigner)
PostFilterEvents(IDictionary)

允许设计器从它通过 a TypeDescriptor. 公开的事件集中更改或删除项。

(继承自 ComponentDesigner)
PostFilterProperties(IDictionary)

允许设计器从它通过 a TypeDescriptor. 公开的属性集中更改或删除项。

(继承自 ComponentDesigner)
PreFilterAttributes(IDictionary)

允许设计器添加到它通过 a TypeDescriptor. 公开的属性集。

(继承自 ComponentDesigner)
PreFilterEvents(IDictionary)

允许设计器添加到它通过 a TypeDescriptor. 公开的事件集。

(继承自 ComponentDesigner)
PreFilterProperties(IDictionary)

调整组件将通过 a 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)

适用于

另请参阅