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)

获取父模板的名称。

适用于

另请参阅