ITemplateEditingService 介面

定義

警告

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 interface class ITemplateEditingService
public interface 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 interface ITemplateEditingService
type ITemplateEditingService = interface
[<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 ITemplateEditingService = interface
Public Interface ITemplateEditingService
衍生
屬性

備註

注意

ITemplateEditingService 介面已經過時。 透過控制項設計工具的屬性公開範本 TemplateGroups 。 設計主機會 TemplatedEditableDesignerRegion 為控制項設計工具的每個 TemplateGroup 定義建立。

屬性

SupportsNestedTemplateEditing

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

方法

CreateFrame(TemplatedControlDesigner, String, String[])

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

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

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

GetContainingTemplateName(Control)

取得父樣板的名稱。

適用於

另請參閱