WebFormsRootDesigner 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在设计时提供 Web 窗体页的设计时功能的一个基类并允许访问和操作包含在 Web 窗体页中的组件和控件。
public ref class WebFormsRootDesigner abstract : IDisposable, System::ComponentModel::Design::IDesignerFilter, System::ComponentModel::Design::IRootDesigner
	public abstract class WebFormsRootDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner
	type WebFormsRootDesigner = class
    interface IRootDesigner
    interface IDesigner
    interface IDisposable
    interface IDesignerFilter
	Public MustInherit Class WebFormsRootDesigner
Implements IDesignerFilter, IDisposable, IRootDesigner
		- 继承
 - 
				WebFormsRootDesigner
 
- 实现
 
注解
设计宿主(如 Visual Studio 2005)必须提供自己的 派生版本的 WebFormsRootDesigner 类,以便通过 RootDesigner 设计器的 属性控制设计器。 控件设计器在设计时使用 RootDesigner 属性访问和操作包含的 Web 窗体页。
实施者说明
从 WebFormsRootDesigner 类继承时,必须重写以下成员:
DocumentUrl、IsDesignerViewLocked、、IsLoadingReferenceManager、 SupportedTechnologies和 Verbs 属性。
AddClientScriptToDocument(ClientScriptItem)、AddControlToDocument(Control, Control, ControlLocation)、GetClientScriptsInDocument()、GetControlViewAndTag(Control, IControlDesignerView, IControlDesignerTag)、 和 RemoveControlFromDocument(Control) 方法。
构造函数
| WebFormsRootDesigner() | 
		 初始化 WebFormsRootDesigner 类的新实例。  | 
        	
属性
| Component | 
		 获取或设置此设计器正在设计的组件。  | 
        	
| CurrentCulture | 
		 获取当前线程的区域性信息。  | 
        	
| DocumentUrl | 
		 在派生类中重写时,获取 Web 窗体页所在的 URL。  | 
        	
| IsDesignerViewLocked | 
		 在派生类中重写时,获取一个指示设计器视图是否锁定的值。  | 
        	
| IsLoading | 
		 在派生类中重写时,获取一个指示是否仍在加载 Web 窗体页的值。  | 
        	
| ReferenceManager | 
		 在派生类中重写时,获取一个 WebFormsReferenceManager 对象,其中包含有关当前 Web 窗体页的信息。  | 
        	
| SupportedTechnologies | 
		 获取设计器组件可为其显示提供支持的技术集。  | 
        	
| Verbs | 
		 获取设计器支持的设计时谓词。  | 
        	
方法
事件
| LoadComplete | 
		 当设计器完成 Web 窗体页的加载时发生。  | 
        	
显式接口实现
| IDesigner.DoDefaultAction() | 
		 有关此成员的说明,请参见 DoDefaultAction()。  | 
        	
| IDesigner.Verbs | 
		 获取或设置设计器支持的设计时谓词。 有关此成员的说明,请参见 Verbs。  | 
        	
| IDesignerFilter.PostFilterAttributes(IDictionary) | 
		 有关此成员的说明,请参见 PostFilterAttributes(IDictionary)。  | 
        	
| IDesignerFilter.PostFilterEvents(IDictionary) | 
		 有关此成员的说明,请参见 PostFilterEvents(IDictionary)。  | 
        	
| IDesignerFilter.PostFilterProperties(IDictionary) | 
		 有关此成员的说明,请参见 PostFilterProperties(IDictionary)。  | 
        	
| IDesignerFilter.PreFilterAttributes(IDictionary) | 
		 有关此成员的说明,请参见 PreFilterAttributes(IDictionary)。  | 
        	
| IDesignerFilter.PreFilterEvents(IDictionary) | 
		 有关此成员的说明,请参见 PreFilterEvents(IDictionary)。  | 
        	
| IDesignerFilter.PreFilterProperties(IDictionary) | 
		 有关此成员的说明,请参见 PreFilterProperties(IDictionary)。  | 
        	
| IDisposable.Dispose() | 
		 有关此成员的说明,请参见 Dispose()。  | 
        	
| IRootDesigner.GetView(ViewTechnology) | 
		 获取指定视图技术的视图对象。 有关此成员的说明,请参见 GetView(ViewTechnology)。  | 
        	
| IRootDesigner.SupportedTechnologies | 
		 获取设计器组件可为其显示提供支持的技术集。 有关此成员的说明,请参见 SupportedTechnologies。  |