ChangePasswordDesigner.TemplateGroups 属性
定义
获取与此设计器关联的控件的模板组成的模板组的集合。Gets a collection of template groups for the templates of the control that is associated with this designer.
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,其中为关联的 ChangePassword 的每个模板包含一个元素。A TemplateGroupCollection containing an element for each template in the associated ChangePassword.
注解
TemplateGroups属性构造 TemplateGroupCollection 对象,并使用基属性返回的集合填充该对象。The TemplateGroups property constructs a TemplateGroupCollection object and populates it with the collection returned by the base property. 然后,它 TemplateGroup 为 ChangePasswordTemplate SuccessTemplate 关联控件 (和) 的每个模板添加一个对象 ChangePassword 。It then adds a TemplateGroup object for each of the templates (ChangePasswordTemplate and SuccessTemplate) of the associated ChangePassword control.