Edit

Share via


DesignerRegionCollection Constructors

Definition

Initializes a new instance of the DesignerRegionCollection class.

Overloads

DesignerRegionCollection()

Initializes a new instance of the DesignerRegionCollection class.

DesignerRegionCollection(ControlDesigner)

Initializes a new instance of the DesignerRegionCollection class for the specified control designer.

DesignerRegionCollection()

Initializes a new instance of the DesignerRegionCollection class.

public:
 DesignerRegionCollection();
public DesignerRegionCollection ();
Public Sub New ()

Remarks

Use the DesignerRegionCollection constructor to create an empty collection. You can add elements to the collection by using the Add or Insert method.

See also

Applies to

DesignerRegionCollection(ControlDesigner)

Initializes a new instance of the DesignerRegionCollection class for the specified control designer.

public:
 DesignerRegionCollection(System::Web::UI::Design::ControlDesigner ^ owner);
public DesignerRegionCollection (System.Web.UI.Design.ControlDesigner owner);
new System.Web.UI.Design.DesignerRegionCollection : System.Web.UI.Design.ControlDesigner -> System.Web.UI.Design.DesignerRegionCollection
Public Sub New (owner As ControlDesigner)

Parameters

owner
ControlDesigner

The control designer that owns this collection of designer regions.

Remarks

The DesignerRegionCollection constructor creates an empty collection and sets the Owner property to the specified control designer object. The visual designer, such as Visual Studio 2005, uses the DesignerRegionCollection constructor to initialize a designer region collection for a specific control designer.

You can add elements to the collection by using the Add or Insert method.

See also

Applies to