編集

次の方法で共有


DetailsViewDesigner.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 DetailsView control.

Remarks

The TemplateGroups property constructs a collection of TemplateGroup objects, one for each templated data field and one for each control field (such as header, footer, and pager) in the associated DetailsView control. The data field TemplateGroup elements have a TemplateDefinition object for each of the predefined row template types. The control field TemplateGroup elements contain a single TemplateDefinition.

Applies to

See also