DesignerRegion Constructor (ControlDesigner, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DesignerRegion class with the specified name for a control designer.

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

public DesignerRegion(
	ControlDesigner designer,
	string name
)

Parameters

designer
Type: System.Web.UI.Design.ControlDesigner

The control designer that contains this designer region.

name
Type: System.String

The name of this designer region.

Exception Condition
ArgumentNullException

designer is null.

-or-

designer is an empty string ("").

-or-

name is null.

-or-

name is an empty string ("").

The following table shows the initial property values for an instance of the DesignerRegion class.

Property

Initial Value

Description

An empty string ("").

Designer

The input designer object.

DisplayName

An empty string ("").

EnsureSize

false.

Highlight

false.

Name

The input name object.

Properties

An empty HybridDictionary object.

Selectable

false.

Selected

false.

UserData

null.

.NET Framework
Available since 2.0
Return to top
Show: