DetailsViewDesigner.TemplateGroups Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.