WebFormsRootDesigner 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 Web Forms 網頁設計階段功能的基底類別,並允許在執行階段存取與操作 Web Forms 網頁內所包含的元件和控制項。
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 Forms 頁面。
當您繼承自 類別時 WebFormsRootDesigner ,必須覆寫下列成員:
DocumentUrl、IsDesignerViewLocked、IsLoading、ReferenceManager、 SupportedTechnologies和 Verbs 屬性。
AddClientScriptToDocument(ClientScriptItem)、AddControlToDocument(Control, Control, ControlLocation)、GetClientScriptsInDocument()、 GetControlViewAndTag(Control, IControlDesignerView, IControlDesignerTag)和 RemoveControlFromDocument(Control) 方法。
Web |
初始化 WebFormsRootDesigner 類別的新執行個體。 |
Component |
取得或設定這個設計工具正在設計的元件。 |
Current |
取得目前執行緒的文化特性 (Culture) 資訊。 |
Document |
在衍生類別中覆寫時,取得 Web Form 網頁所在的 URL。 |
Is |
在衍生類別中覆寫時,取得值,指出是否鎖定了設計工具檢視。 |
Is |
在衍生類別中覆寫時,取得值,指出是否仍在載入 Web Form 網頁。 |
Reference |
在衍生類別中覆寫時,取得具有目前 Web Form 網頁之相關資訊的 WebFormsReferenceManager 物件。 |
Supported |
取得技術的陣列,該設計工具元件可支援其顯示。 |
Verbs |
取得設計工具所支援的設計階段動詞命令。 |
Load |
發生於設計工具完成 Web Form 網頁的載入時。 |
IDesigner. |
如需這個成員的說明,請參閱 DoDefaultAction()。 |
IDesigner. |
取得或設定設計工具所支援的設計階段動詞命令。 如需這個成員的說明,請參閱 Verbs。 |
IDesigner |
如需這個成員的說明,請參閱 PostFilterAttributes(IDictionary)。 |
IDesigner |
如需這個成員的說明,請參閱 PostFilterEvents(IDictionary)。 |
IDesigner |
如需這個成員的說明,請參閱 PostFilterProperties(IDictionary)。 |
IDesigner |
如需這個成員的說明,請參閱 PreFilterAttributes(IDictionary)。 |
IDesigner |
如需這個成員的說明,請參閱 PreFilterEvents(IDictionary)。 |
IDesigner |
如需這個成員的說明,請參閱 PreFilterProperties(IDictionary)。 |
IDisposable. |
如需這個成員的說明,請參閱 Dispose()。 |
IRoot |
取得指定的檢視技術之檢視物件。 如需這個成員的說明,請參閱 GetView(ViewTechnology)。 |
IRoot |
取得技術的陣列,該設計工具元件可支援其顯示。 如需這個成員的說明,請參閱 SupportedTechnologies。 |
產品 | 版本 |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |