共用方式為


DataListDesigner.GetCachedTemplateEditingVerbs 方法

定義

警告

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 cli::array <System::Web::UI::Design::TemplateEditingVerb ^> ^ GetCachedTemplateEditingVerbs();
protected override System.Web.UI.Design.TemplateEditingVerb[] GetCachedTemplateEditingVerbs ();
[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.TemplateEditingVerb[] GetCachedTemplateEditingVerbs ();
override this.GetCachedTemplateEditingVerbs : unit -> System.Web.UI.Design.TemplateEditingVerb[]
[<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.GetCachedTemplateEditingVerbs : unit -> System.Web.UI.Design.TemplateEditingVerb[]
Protected Overrides Function GetCachedTemplateEditingVerbs () As TemplateEditingVerb()

傳回

TemplateEditingVerb 物件的陣列,由設計工具可用的快取樣板編輯動作 (Verb) 組成。

屬性

備註

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

適用於

另請參閱