共用方式為


DataListDesigner.CreateTemplateEditingFrame(TemplateEditingVerb) 方法

定義

警告

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

使用指定的動作 (Verb) 以建立樣板編輯框架。

protected:
 override System::Web::UI::Design::ITemplateEditingFrame ^ CreateTemplateEditingFrame(System::Web::UI::Design::TemplateEditingVerb ^ verb);
protected override 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 override System.Web.UI.Design.ITemplateEditingFrame CreateTemplateEditingFrame (System.Web.UI.Design.TemplateEditingVerb verb);
override this.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")>]
override this.CreateTemplateEditingFrame : System.Web.UI.Design.TemplateEditingVerb -> System.Web.UI.Design.ITemplateEditingFrame
Protected Overrides Function CreateTemplateEditingFrame (verb As TemplateEditingVerb) As ITemplateEditingFrame

參數

verb
TemplateEditingVerb

TemplateEditingVerb 可用於建立樣板 (Template) 編輯框架 (Frame)。

傳回

ITemplateEditingFrame 物件。

屬性

備註

不使用編輯框架,請使用範本群組和設計工具編輯區域。 如需詳細資訊,請參閱 TemplateGroupsDesignerRegion

適用於

另請參閱