Represents a collection of DesignerRegion objects within a control designer.
Assembly: System.Design (in System.Design.dll)
The ControlDesigner class, and any derived class, uses the class to contain and enumerate the designer regions for the control in a design host, such as Visual Studio 2005.
For example, the ControlDesigner.GetDesignTimeHtml method can be used to define and add regions to the collection.
Use the Owner property to access the control designer object that contains the designer region collection. Use the methods and properties to examine and maintain the DesignerRegion objects that are in the collection.
The collection dynamically increases as objects are added. Indexes in this collection are zero-based. Use the Count property to determine how many designer regions are in the collection. Use the members to provide the following functionality:
The Add method to add a single designer region to the collection.
The Insert method to add a designer region at a particular index within the collection.
The Remove method to remove a designer region.
The RemoveAt method to remove the designer region at a particular index.
The Contains method to determine whether a particular designer region is already in the collection.
The IndexOf method to retrieve the index of a designer region within the collection.
The Item indexer to get or set the designer region at a particular index, using array notation.
The Clear method to remove all designer regions from the collection.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.