This documentation is archived and is not being maintained.

LoginViewDesigner::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:
virtual void SetEditableDesignerRegionContent(
	EditableDesignerRegion^ region, 
	String^ content
) override

Parameters

region
Type: System.Web.UI.Design::EditableDesignerRegion
An EditableDesignerRegion that provides the name of the region to update.
content
Type: System::String
A string that contains a serialized template for the associated control.

The SetEditableDesignerRegionContent method parses a serialized template for the associated LoginView 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 current template of the LoginView control can be serialized using the GetEditableDesignerRegionContent method.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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