LoginViewDesigner.GetEditableDesignerRegionContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a serialized copy of the current template that is used to render the associated control at design time.
public:
override System::String ^ GetEditableDesignerRegionContent(System::Web::UI::Design::EditableDesignerRegion ^ region);
public override string GetEditableDesignerRegionContent (System.Web.UI.Design.EditableDesignerRegion region);
override this.GetEditableDesignerRegionContent : System.Web.UI.Design.EditableDesignerRegion -> string
Public Overrides Function GetEditableDesignerRegionContent (region As EditableDesignerRegion) As String
Parameters
- region
- EditableDesignerRegion
The EditableDesignerRegion for which to obtain content.
Returns
A string containing a serialized copy of the template used to render the associated LoginView at design time.
Remarks
If a template implementing the ITemplate interface can be obtained from the region
parameter, the GetEditableDesignerRegionContent method returns the persisted template. Otherwise, it calls the GetEditableDesignerRegionContent base method to generate the content.
The serialized template can be restored to the LoginView control by using the SetEditableDesignerRegionContent method.