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, состоящий из доступных конструктору команд редактирования кэшированного шаблона.

Атрибуты

Комментарии

Вместо редактирования кадров используйте группы шаблонов и области редактирования конструктора. Дополнительные сведения см. в разделах TemplateGroups и DesignerRegion.

Применяется к

См. также раздел