Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetEditableDesignerRegionContent Method

LoginDesigner.SetEditableDesignerRegionContent Method

Sets a region of the associated control from a serialized copy of a control template.

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

public override void SetEditableDesignerRegionContent(
	EditableDesignerRegion region,
	string content


Type: System.Web.UI.Design.EditableDesignerRegion

An EditableDesignerRegion that provides the name of the region to update.

Type: System.String

A string that contains a serialized template for the associated control.

The SetEditableDesignerRegionContent method parses a serialized template for the associated Login control that is specified by the content parameter, and then uses the template to update the region of the control that is specified by the Name property of the region parameter.

The LayoutTemplate property of the Login control can be serialized using the GetEditableDesignerRegionContent method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft