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

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

(继承自 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)

获取指定 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)

适用于

另请参阅