GridViewDesigner.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 or sets 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 GridView.
Remarks
The TemplateGroups property constructs a collection of TemplateGroup objects, one for each templated data field and one for each control template (pager and empty data) in the associated GridView control. The data field TemplateGroup elements have a TemplateDefinition object for each of the predefined row template types. The control template TemplateGroup elements contain a single TemplateDefinition.
Applies to
See also
.NET