System.Web.UI.Design.ContainerControlDesigner.GetDesignTimeHtml Method

Returns the HTML markup that is used to represent the control at design time.

Syntax

public override string GetDesignTimeHtml (DesignerRegionCollection regions)

Parameters

regions
A collection of designer regions.

Returns

An HTML markup string that represents the control.

Remarks

Use the ContainerControlDesigner.GetDesignTimeHtml(DesignerRegionCollection) method to get the HTML for the control. Child controls that are contained in the editable design region are rendered using their associated control designers.

The ContainerControlDesigner.GetDesignTimeHtml(DesignerRegionCollection) method initializes a new System.Web.UI.Design.EditableDesignerRegion object for the editable region of associated control, and then returns the region through the regions collection.

Requirements

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