System.Web.UI.Design.TemplateGroupCollection Class

Represents a collection of System.Web.UI.Design.TemplateGroup objects within a control designer. This class cannot be inherited.

See Also: TemplateGroupCollection Members


public sealed class TemplateGroupCollection : IList


The System.Web.UI.Design.ControlDesigner class, and any derived class, defines the ControlDesigner.TemplateGroups property as a System.Web.UI.Design.TemplateGroupCollection object. The System.Web.UI.Design.TemplateGroupCollection property is typically used only by a design host such as vsprvslong.

The collection dynamically increases in size as objects are added. Indexes in this collection are zero-based. Use the TemplateGroupCollection.Count property to determine how many groups are in the collection.

Additionally, use the System.Web.UI.Design.TemplateGroupCollection methods and properties to provide the following functionality:


Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: