DesignerRegionCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Owner
- Extending Design-Time Support
- How to: Extend the Appearance and Behavior of Controls in Design Mode