TemplateEditingService.SupportsNestedTemplateEditing 属性

定义

获取一个值,该值指示服务是否支持嵌套模板编辑。Gets a value that indicates whether the service supports nested template editing.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property bool SupportsNestedTemplateEditing { bool get(); };
public bool SupportsNestedTemplateEditing { get; }
member this.SupportsNestedTemplateEditing : bool
Public ReadOnly Property SupportsNestedTemplateEditing As Boolean

属性值

Boolean

如果服务支持嵌套模板编辑,则为 true;否则为 falsetrue if the service supports nested template editing; otherwise, false.

实现

注解

备注

TemplateEditingService 类已过时。The TemplateEditingService class is obsolete. 通过 TemplateGroups 控件设计器的属性公开模板。Expose templates through the TemplateGroups property of a control designer. 设计宿主 TemplatedEditableDesignerRegionTemplateDefinition TemplateGroup 控件设计器中定义的每个创建一个对象。The design host creates a TemplatedEditableDesignerRegion object for each TemplateDefinition in each TemplateGroup that is defined for a control designer.

SupportsNestedTemplateEditing属性指示模板编辑器是否可从父模板编辑器的模板化控件的组件调用。The SupportsNestedTemplateEditing property indicates whether a template editor can be invoked from a component of a parent template editor's templated control. 这称为 "嵌套模板编辑",因为模板编辑器是为模板编辑器已在运行的控件的组件调用的。This is called nested template editing, because a template editor is invoked for a component of a control for which a template editor is already operating.

适用于