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

屬性值

如果服務支援巢狀樣板編輯,則為 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. 設計主機會針對控制項設計工具所定義的每個 TemplateGroup 中的每個 TemplateDefinition 建立 TemplatedEditableDesignerRegion 物件。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.

適用於