Επεξεργασία

Κοινή χρήση μέσω


GridViewDesigner.TemplateGroups Property

Definition

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