共用方式為


TemplatedControlDesigner.ActiveTemplateEditingFrame 屬性

定義

警告

Use of this property 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

取得作用中的樣板編輯框架 (Frame)。

public:
 property System::Web::UI::Design::ITemplateEditingFrame ^ ActiveTemplateEditingFrame { System::Web::UI::Design::ITemplateEditingFrame ^ get(); };
public System.Web.UI.Design.ITemplateEditingFrame ActiveTemplateEditingFrame { get; }
[System.Obsolete("Use of this property 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 System.Web.UI.Design.ITemplateEditingFrame ActiveTemplateEditingFrame { get; }
member this.ActiveTemplateEditingFrame : System.Web.UI.Design.ITemplateEditingFrame
[<System.Obsolete("Use of this property 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")>]
member this.ActiveTemplateEditingFrame : System.Web.UI.Design.ITemplateEditingFrame
Public ReadOnly Property ActiveTemplateEditingFrame As ITemplateEditingFrame

屬性值

ITemplateEditingFrame,為目前作用中的樣板編輯框架。

屬性

備註

注意

ActiveTemplateEditingFrame 屬性已經過時。 TemplateGroups使用 屬性,在設計工具中公開或列舉範本型控件的範本。

適用於

另請參閱