DesignerRegion Constructor (ControlDesigner, String, Boolean)

 

Initializes a new instance of the DesignerRegion class with the specified name for a control designer, optionally setting the instance as a selectable region in the designer.

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

public DesignerRegion(
	ControlDesigner designer,
	string name,
	bool selectable
)

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.

selectable
Type: System.Boolean

true to select the region; otherwise, false.

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

The input selectable value.

Selected

false.

UserData

null.

.NET Framework
Available since 2.0
Return to top
Show: