FormViewDesigner.TemplateGroups 属性

定义

获取用于关联控件字段的模板组集合。

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

属性值

TemplateGroupCollection

一个 TemplateGroupCollection,其中为 FormView 中的每个模板化字段包含一个元素。

注解

TemplateGroups属性为关联的FormView控件中的每个控件模板构造一个对象集合TemplateGroup。 控件模板是页眉、页脚、寻呼器、项、编辑项、插入项和空数据。 控件模板 TemplateGroup 元素包含单个 TemplateDefinition 对象。

适用于

另请参阅