TemplateEditingService 類別

定義

警告

Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202

提供在設計階段編輯控制項樣板的服務。 此類別無法獲得繼承。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public ref class TemplateEditingService sealed : IDisposable, System::Web::UI::Design::ITemplateEditingService
public sealed class TemplateEditingService : IDisposable, System.Web.UI.Design.ITemplateEditingService
[System.Obsolete("Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public sealed class TemplateEditingService : IDisposable, System.Web.UI.Design.ITemplateEditingService
type TemplateEditingService = class
    interface ITemplateEditingService
    interface IDisposable
[<System.Obsolete("Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
type TemplateEditingService = class
    interface ITemplateEditingService
    interface IDisposable
Public NotInheritable Class TemplateEditingService
Implements IDisposable, ITemplateEditingService
繼承
TemplateEditingService
屬性
實作

備註

注意

TemplateEditingService 類別已經過時。 透過控制項設計工具的屬性公開範本 TemplateGroups 。 設計主機 TemplatedEditableDesignerRegion TemplateDefinition 會為控制項設計工具定義的每個建立一個物件 TemplateGroup

建構函式

TemplateEditingService(IDesignerHost)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

使用指定的設計工具主應用程式,初始化 TemplateEditingService 類別的新執行個體。

屬性

SupportsNestedTemplateEditing

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得值,這個值表示服務是否支援巢狀樣板編輯。

方法

CreateFrame(TemplatedControlDesigner, String, String[])

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

使用指定的名稱和樣板,為已套用樣板化的控制項設計工具建立一個新的樣板編輯框架。

CreateFrame(TemplatedControlDesigner, String, String[], Style, Style[])

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

使用指定的名稱、樣板名稱、控制項樣式和樣板樣式,為指定的 TemplatedControlDesigner 物件建立新的樣板編輯框架。

Dispose()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

釋放 TemplateEditingService 物件所使用的全部資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Finalize()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

完成此服務。

GetContainingTemplateName(Control)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得父樣板的名稱。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱