DataListDesigner.CreateTemplateEditingFrame(TemplateEditingVerb) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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)。
傳回
- 屬性
備註
不使用編輯框架,請使用範本群組和設計工具編輯區域。 如需詳細資訊,請參閱 TemplateGroups 和 DesignerRegion。