DataListDesigner.GetCachedTemplateEditingVerbs 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 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
取得設計工具可以使用的已快取處理的樣板編輯動作。
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) 組成。
- 屬性
備註
不使用編輯框架,請使用範本群組和設計工具編輯區域。 如需詳細資訊,請參閱 TemplateGroups 和 DesignerRegion。