Partilhar via


DataListDesigner.GetCachedTemplateEditingVerbs Método

Definição

Cuidado

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

Obtém os verbos de edição de modelo armazenados em cache disponíveis para o designer.

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()

Retornos

Uma matriz de objetos TemplateEditingVerb que consiste nos verbos de edição de modelo armazenados em cache disponíveis para o designer.

Atributos

Comentários

Em vez de usar quadros de edição, use grupos de modelos e regiões de edição de designer. Para obter mais informações, consulte TemplateGroups e DesignerRegion.

Aplica-se a

Confira também