ReadWriteControlDesigner 类

定义

注意

The recommended alternative is ContainerControlDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202

扩展读/写服务器控件的设计时行为。

public ref class ReadWriteControlDesigner : System::Web::UI::Design::ControlDesigner
public class ReadWriteControlDesigner : System.Web.UI.Design.ControlDesigner
[System.Obsolete("The recommended alternative is ContainerControlDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")]
public class ReadWriteControlDesigner : System.Web.UI.Design.ControlDesigner
type ReadWriteControlDesigner = class
    inherit ControlDesigner
[<System.Obsolete("The recommended alternative is ContainerControlDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited. http://go.microsoft.com/fwlink/?linkid=14202")>]
type ReadWriteControlDesigner = class
    inherit ControlDesigner
Public Class ReadWriteControlDesigner
Inherits ControlDesigner
继承
派生
属性

注解

注释

ReadWriteControlDesigner 类已过时。 将 ContainerControlDesigner 类用于等效的控件设计器功能。

此控件设计器提供将控件拖放到此设计器的控件上的功能。

继承者说明

希望控件支持添加子控件的设计器的实现者应使用 ReadWriteControlDesigner。 如果不希望控件支持子控件,请使用派生自 ControlDesigner的设计器。

构造函数

名称 说明
ReadWriteControlDesigner()
已过时.

初始化类的 ReadWriteControlDesigner 实例。

属性

名称 说明
ActionLists
已过时.

获取控件设计器的操作列表集合。

(继承自 ControlDesigner)
AllowResize
已过时.

获取一个值,该值指示是否可以在设计时环境中调整控件的大小。

(继承自 ControlDesigner)
AssociatedComponents
已过时.

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

(继承自 ComponentDesigner)
AutoFormats
已过时.

获取在设计时在关联控件的 自动格式 对话框中显示的预定义自动格式方案的集合。

(继承自 ControlDesigner)
Behavior
已过时.

获取或设置与设计器关联的 DHTML 行为。

(继承自 HtmlControlDesigner)
Component
已过时.

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

(继承自 ComponentDesigner)
DataBindings
已过时.

获取当前控件的数据绑定集合。

(继承自 HtmlControlDesigner)
DataBindingsEnabled
已过时.

获取一个值,该值指示关联控件的包含区域是否支持数据绑定。

(继承自 ControlDesigner)
DesignerState
已过时.

获取一个对象,该对象用于在设计时保存关联控件的数据。

(继承自 ControlDesigner)
DesignTimeElement
已过时.

获取表示与设计图面上的对象关联的 HtmlControlDesigner 控件的设计时对象。

(继承自 HtmlControlDesigner)
DesignTimeElementView
已过时.

获取控件设计器的视图控件对象。

(继承自 ControlDesigner)
DesignTimeHtmlRequiresLoadComplete
已过时.

获取一个值,该值指示设计主机在调用方法之前 GetDesignTimeHtml 是否必须完成加载。

(继承自 ControlDesigner)
Expressions
已过时.

获取设计时当前控件的表达式绑定。

(继承自 HtmlControlDesigner)
HidePropertiesInTemplateMode
已过时.

获取一个值,该值指示当控件处于模板模式时关联控件的属性是否隐藏。

(继承自 ControlDesigner)
ID
已过时.

获取或设置控件的 ID 字符串。

(继承自 ControlDesigner)
InheritanceAttribute
已过时.

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

(继承自 ComponentDesigner)
Inherited
已过时.

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

(继承自 ComponentDesigner)
InTemplateMode
已过时.

获取一个值,该值指示控件是在设计主机中处于模板查看或编辑模式。 该 InTemplateMode 属性为只读。

(继承自 ControlDesigner)
IsDirty
已过时.

获取或设置一个值,该值指示是否已将 Web 服务器控件标记为已更改。

(继承自 ControlDesigner)
ParentComponent
已过时.

获取此设计器的父组件。

(继承自 ComponentDesigner)
ReadOnly
已过时.

获取或设置一个值,该值指示控件的属性在设计时是否为只读。

(继承自 ControlDesigner)
RootDesigner
已过时.

获取包含关联控件的 Web 窗体页的控件设计器。

(继承自 ControlDesigner)
ShadowProperties
已过时.

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

(继承自 ComponentDesigner)
ShouldCodeSerialize
已过时.

获取或设置一个值,该值指示是否在序列化期间为当前设计文档的代码隐藏文件中的控件创建字段声明。

(继承自 HtmlControlDesigner)
Tag
已过时.

获取一个对象,该对象表示关联控件的 HTML 标记元素。

(继承自 ControlDesigner)
TemplateGroups
已过时.

获取模板组的集合,每个组包含一个或多个模板定义。

(继承自 ControlDesigner)
UsePreviewControl
已过时.

获取一个值,该值指示控件设计器是否使用临时预览控件生成设计时 HTML 标记。

(继承自 ControlDesigner)
Verbs
已过时.

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

(继承自 ComponentDesigner)
ViewControl
已过时.

获取或设置可用于预览设计时 HTML 标记的 Web 服务器控件。

(继承自 ControlDesigner)
ViewControlCreated
已过时.

获取或设置一个值,该值 View 指示是否已为设计图面上的显示创建控件。

(继承自 ControlDesigner)
Visible
已过时.

获取一个值,该值指示控件在设计时是否可见。

(继承自 ControlDesigner)

方法

名称 说明
CreateErrorDesignTimeHtml(String, Exception)
已过时.

创建 HTML 标记,以在设计时显示指定的异常错误消息。

(继承自 ControlDesigner)
CreateErrorDesignTimeHtml(String)
已过时.

创建 HTML 标记以在设计时显示指定的错误消息。

(继承自 ControlDesigner)
CreatePlaceHolderDesignTimeHtml()
已过时.

提供一个简单的矩形占位符表示形式,用于显示控件的类型和 ID。

(继承自 ControlDesigner)
CreatePlaceHolderDesignTimeHtml(String)
已过时.

提供一个简单的矩形占位符表示形式,用于显示控件的类型和 ID,以及其他指定的指令或信息。

(继承自 ControlDesigner)
CreateViewControl()
已过时.

返回关联的控件的副本,以便在设计图面上查看或呈现。

(继承自 ControlDesigner)
Dispose()
已过时.

释放该 ComponentDesigner命令使用的所有资源。

(继承自 ComponentDesigner)
Dispose(Boolean)
已过时.

释放对象使用 HtmlControlDesigner 的非托管资源,并选择性地释放托管资源。

(继承自 HtmlControlDesigner)
DoDefaultAction()
已过时.

在组件的源代码文件中为默认事件创建方法签名,并将用户的光标导航到该位置。

(继承自 ComponentDesigner)
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetBounds()
已过时.

检索表示控件边界的矩形坐标,如设计图面上所示。

(继承自 ControlDesigner)
GetDesignTimeHtml()
已过时.

获取用于在设计时表示控件的 HTML。

GetDesignTimeHtml()
已过时.

检索用于在设计时表示控件的 HTML 标记。

(继承自 ControlDesigner)
GetDesignTimeHtml(DesignerRegionCollection)
已过时.

检索 HTML 标记以显示控件,并使用当前控件设计器区域填充集合。

(继承自 ControlDesigner)
GetEditableDesignerRegionContent(EditableDesignerRegion)
已过时.

返回关联控件设计时视图的可编辑区域的内容。

(继承自 ControlDesigner)
GetEmptyDesignTimeHtml()
已过时.

检索 HTML 标记,以在设计时表示 Web 服务器控件,该控件在运行时不具有可视表示形式。

(继承自 ControlDesigner)
GetErrorDesignTimeHtml(Exception)
已过时.

检索提供有关指定异常信息的 HTML 标记。

(继承自 ControlDesigner)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetPersistenceContent()
已过时.

检索设计时控件的可持久内部 HTML 标记。

(继承自 ControlDesigner)
GetPersistInnerHtml()
已过时.

检索控件的可持久内部 HTML 标记。

(继承自 ControlDesigner)
GetService(Type)
已过时.

尝试从设计器组件的设计模式站点检索指定的服务类型。

(继承自 ComponentDesigner)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
GetViewRendering()
已过时.

检索一个对象,该对象包含关联控件的内容和区域的设计时标记。

(继承自 ControlDesigner)
Initialize(IComponent)
已过时.

初始化控件设计器并加载指定的组件。

(继承自 ControlDesigner)
InitializeExistingComponent(IDictionary)
已过时.

重新初始化现有组件。

(继承自 ComponentDesigner)
InitializeNewComponent(IDictionary)
已过时.

初始化新创建的组件。

(继承自 ComponentDesigner)
InitializeNonDefault()
已过时.
已过时.

初始化已初始化为默认设置以外的设置的导入组件的设置。

(继承自 ComponentDesigner)
Invalidate()
已过时.

使设计图面上显示的控件的整个区域失效,并指示控件设计器重新绘制控件。

(继承自 ControlDesigner)
Invalidate(Rectangle)
已过时.

使设计图面上显示的控件的指定区域失效,并指示控件设计器重新绘制控件。

(继承自 ControlDesigner)
InvokeGetInheritanceAttribute(ComponentDesigner)
已过时.

InheritanceAttribute获取指定的 ComponentDesigner

(继承自 ComponentDesigner)
IsPropertyBound(String)
已过时.

检索一个值,该值指示关联控件上的指定属性是否为数据绑定。

(继承自 ControlDesigner)
Localize(IDesignTimeResourceWriter)
已过时.

使用提供的资源编写器将关联控件的可本地化属性保存到设计主机中的资源。

(继承自 ControlDesigner)
MapPropertyToStyle(String, Object)
已过时.

将属性(包括说明和值)映射到内部 HTML 样式。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnAutoFormatApplied(DesignerAutoFormat)
已过时.

当预定义的自动格式设置方案应用于关联的控件时调用。

(继承自 ControlDesigner)
OnBehaviorAttached()
已过时.

提供在将行为附加到设计器时引发的通知。

OnBehaviorDetaching()
已过时.

当行为与元素取消关联时调用。

(继承自 HtmlControlDesigner)
OnBindingsCollectionChanged(String)
已过时.

数据绑定集合更改时调用。

(继承自 ControlDesigner)
OnClick(DesignerRegionMouseEventArgs)
已过时.

当用户在设计时单击关联的控件时由设计主机调用。

(继承自 ControlDesigner)
OnComponentChanged(Object, ComponentChangedEventArgs)
已过时.

表示将处理 ComponentChanged 类事件 IComponentChangeService 的方法。

OnComponentChanging(Object, ComponentChangingEventArgs)
已过时.

表示将处理 ComponentChanging 关联控件的事件的方法。

(继承自 ControlDesigner)
OnControlResize()
已过时.

在设计时在设计主机中调整关联的 Web 服务器控件的大小时调用。

(继承自 ControlDesigner)
OnPaint(PaintEventArgs)
已过时.

当控件设计器在设计图面上绘制关联的控件(如果值为 CustomPainttrue时调用。

(继承自 ControlDesigner)
OnSetComponentDefaults()
已过时.
已过时.

设置组件的默认属性。

(继承自 ComponentDesigner)
OnSetParent()
已过时.

提供在关联控件附加到父控件时执行其他处理的方法。

(继承自 HtmlControlDesigner)
PostFilterAttributes(IDictionary)
已过时.

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

(继承自 ComponentDesigner)
PostFilterEvents(IDictionary)
已过时.

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

(继承自 ComponentDesigner)
PostFilterProperties(IDictionary)
已过时.

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

(继承自 ComponentDesigner)
PreFilterAttributes(IDictionary)
已过时.

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

(继承自 ComponentDesigner)
PreFilterEvents(IDictionary)
已过时.

设置在设计时为 TypeDescriptor 组件的对象公开的事件列表。

(继承自 HtmlControlDesigner)
PreFilterProperties(IDictionary)
已过时.

在设计时向或从设计宿主中的“属性”网格中添加属性或删除属性,或者提供可能与关联控件上的属性对应的新设计时属性。

(继承自 ControlDesigner)
RaiseComponentChanged(MemberDescriptor, Object, Object)
已过时.

通知 IComponentChangeService 此组件已更改。

(继承自 ComponentDesigner)
RaiseComponentChanging(MemberDescriptor)
已过时.

通知 IComponentChangeService 此组件即将更改。

(继承自 ComponentDesigner)
RaiseResizeEvent()
已过时.

引发 OnControlResize() 事件。

(继承自 ControlDesigner)
RegisterClone(Object, Object)
已过时.

在克隆的控件中注册内部数据。

(继承自 ControlDesigner)
SetEditableDesignerRegionContent(EditableDesignerRegion, String)
已过时.

指定设计时控件的可编辑区域的内容。

(继承自 ControlDesigner)
SetRegionContent(EditableDesignerRegion, String)
已过时.

指定控件设计时视图中可编辑区域的内容。

(继承自 ControlDesigner)
SetViewFlags(ViewFlags, Boolean)
已过时.

将指定的按位 ViewFlags 枚举分配给指定的标志值。

(继承自 ControlDesigner)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)
UpdateDesignTimeHtml()
已过时.

刷新控件的显示。

UpdateDesignTimeHtml()
已过时.

通过调用 GetDesignTimeHtml 该方法刷新关联的 Web 服务器控件的设计时 HTML 标记。

(继承自 ControlDesigner)

显式接口实现

名称 说明
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)
ITreeDesigner.Children
已过时.

有关此成员的说明,请参阅 Children 该属性。

(继承自 ComponentDesigner)
ITreeDesigner.Parent
已过时.

有关此成员的说明,请参阅 Parent 该属性。

(继承自 ComponentDesigner)

适用于