ContainerControlDesigner.SetEditableDesignerRegionContent Method (EditableDesignerRegion, 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.

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 Overrides Sub SetEditableDesignerRegionContent (
	region As EditableDesignerRegion,
	content As String
)

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: