System.Web.UI.Design.DesignerRegionCollection Class

Represents a collection of System.Web.UI.Design.DesignerRegion objects within a control designer.

See Also: DesignerRegionCollection Members

Syntax

public class DesignerRegionCollection : IList

Remarks

The System.Web.UI.Design.ControlDesigner class, and any derived class, uses the System.Web.UI.Design.DesignerRegionCollection class to contain and enumerate the designer regions for the control in a design host, such as vsprvslong.

For example, the ControlDesigner.GetDesignTimeHtml method can be used to define and add regions to the collection.

Use the DesignerRegionCollection.Owner property to access the control designer object that contains the designer region collection. Use the System.Web.UI.Design.DesignerRegionCollection methods and properties to examine and maintain the System.Web.UI.Design.DesignerRegion objects that are in the collection.

The collection dynamically increases as objects are added. Indexes in this collection are zero-based. Use the DesignerRegionCollection.Count property to determine how many designer regions are in the collection. Use the System.Web.UI.Design.DesignerRegionCollection members to provide the following functionality:

Requirements

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