共用方式為


TemplatedControlDesigner.CreateTemplateEditingFrame 方法

定義

警告

Use of this method 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)。

protected:
 abstract System::Web::UI::Design::ITemplateEditingFrame ^ CreateTemplateEditingFrame(System::Web::UI::Design::TemplateEditingVerb ^ verb);
protected abstract System.Web.UI.Design.ITemplateEditingFrame CreateTemplateEditingFrame (System.Web.UI.Design.TemplateEditingVerb verb);
[System.Obsolete("Use of this method 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")]
protected abstract System.Web.UI.Design.ITemplateEditingFrame CreateTemplateEditingFrame (System.Web.UI.Design.TemplateEditingVerb verb);
abstract member CreateTemplateEditingFrame : System.Web.UI.Design.TemplateEditingVerb -> System.Web.UI.Design.ITemplateEditingFrame
[<System.Obsolete("Use of this method 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")>]
abstract member CreateTemplateEditingFrame : System.Web.UI.Design.TemplateEditingVerb -> System.Web.UI.Design.ITemplateEditingFrame
Protected MustOverride Function CreateTemplateEditingFrame (verb As TemplateEditingVerb) As ITemplateEditingFrame

參數

verb
TemplateEditingVerb

建立樣板編輯框架的樣板編輯動作。

傳回

新的樣板編輯框架。

屬性

適用於

另請參閱