Redigera

Dela via


EditableDesignerRegion Constructors

Definition

Initializes a new instance of the EditableDesignerRegion class.

Overloads

EditableDesignerRegion(ControlDesigner, String)

Initializes a new instance of the EditableDesignerRegion class using the given owner and name.

EditableDesignerRegion(ControlDesigner, String, Boolean)

Creates a new instance of the EditableDesignerRegion class using the given owner and name and the initial value of the ServerControlsOnly property.

EditableDesignerRegion(ControlDesigner, String)

Initializes a new instance of the EditableDesignerRegion class using the given owner and name.

public:
 EditableDesignerRegion(System::Web::UI::Design::ControlDesigner ^ owner, System::String ^ name);
public EditableDesignerRegion (System.Web.UI.Design.ControlDesigner owner, string name);
new System.Web.UI.Design.EditableDesignerRegion : System.Web.UI.Design.ControlDesigner * string -> System.Web.UI.Design.EditableDesignerRegion
Public Sub New (owner As ControlDesigner, name As String)

Parameters

owner
ControlDesigner

A ControlDesigner object, or a designer that derives from ControlDesigner.

name
String

The name of the region.

See also

Applies to

EditableDesignerRegion(ControlDesigner, String, Boolean)

Creates a new instance of the EditableDesignerRegion class using the given owner and name and the initial value of the ServerControlsOnly property.

public:
 EditableDesignerRegion(System::Web::UI::Design::ControlDesigner ^ owner, System::String ^ name, bool serverControlsOnly);
public EditableDesignerRegion (System.Web.UI.Design.ControlDesigner owner, string name, bool serverControlsOnly);
new System.Web.UI.Design.EditableDesignerRegion : System.Web.UI.Design.ControlDesigner * string * bool -> System.Web.UI.Design.EditableDesignerRegion
Public Sub New (owner As ControlDesigner, name As String, serverControlsOnly As Boolean)

Parameters

owner
ControlDesigner

A ControlDesigner object, or a designer that derives from ControlDesigner.

name
String

The name of the region.

serverControlsOnly
Boolean

true to have the region accept only Web server controls for content; otherwise, false.

See also

Applies to