FormViewDesigner.TemplateGroups Property

Definition

Gets a collection of template groups for the fields of the associated control.

public:
 virtual property System::Web::UI::Design::TemplateGroupCollection ^ TemplateGroups { System::Web::UI::Design::TemplateGroupCollection ^ get(); };
public override System.Web.UI.Design.TemplateGroupCollection TemplateGroups { get; }
member this.TemplateGroups : System.Web.UI.Design.TemplateGroupCollection
Public Overrides ReadOnly Property TemplateGroups As TemplateGroupCollection

Property Value

A TemplateGroupCollection containing an element for each templated field in the FormView.

Remarks

The TemplateGroups property constructs a collection of TemplateGroup objects, one for each control template in the associated FormView control. The control templates are the header, footer, pager, item, edit item, insert item, and empty data. The control template TemplateGroup elements contain a single TemplateDefinition object.

Applies to

See also