TemplatedControlDesigner.CreateTemplateEditingFrame 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 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
在衍生類別中被覆寫時,會為指定的動詞建立一個樣板編輯框架 (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
建立樣板編輯框架的樣板編輯動作。
傳回
新的樣板編輯框架。
- 屬性