ContainerControlDesigner.SetEditableDesignerRegionContent Method (EditableDesignerRegion, String)

 

Sets the content for the editable region of the control at design time.

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

public override void SetEditableDesignerRegionContent(
	EditableDesignerRegion region,
	string content
)

Parameters

region
Type: System.Web.UI.Design.EditableDesignerRegion

An editable design region contained within the control.

content
Type: System.String

Content to assign for the editable design region.

The ContainerControlDesigner class implements a single designer region instead of a collection of designer regions. Therefore, the region parameter is ignored, and the SetEditableDesignerRegionContent method sets the content for the single designer region that is contained in the control designer.

.NET Framework
Available since 2.0
Return to top
Show: