LoginDesigner.GetEditableDesignerRegionContent Method (EditableDesignerRegion)


Returns a serialized copy of the template that is used to render the associated control at design time.

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

public override string GetEditableDesignerRegionContent(
	EditableDesignerRegion region


Type: System.Web.UI.Design.EditableDesignerRegion

The EditableDesignerRegion for which to fetch content.

Return Value

Type: System.String

A string containing a serialized copy of the template used to render the associated Login at design time.

The GetEditableDesignerRegionContent method creates a copy of the LayoutTemplate object of the associated Login control in the control container and returns a serialized copy.

The serialized template can be restored to a part of the Login control using the SetEditableDesignerRegionContent method.

The region parameter is not used by the GetEditableDesignerRegionContent.

.NET Framework
Available since 2.0
Return to top