GridViewDesigner.TemplateGroups Property

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

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public override TemplateGroupCollection TemplateGroups { get; }
/** @property */
public TemplateGroupCollection get_TemplateGroups ()

public override function get TemplateGroups () : TemplateGroupCollection

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: