LoginDesigner.SetEditableDesignerRegionContent Method

Note: This method is new in the .NET Framework version 2.0.

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
public void SetEditableDesignerRegionContent (
	EditableDesignerRegion region, 
	String content
public override function SetEditableDesignerRegionContent (
	region : EditableDesignerRegion, 
	content : String



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


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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0