WebPartZoneDesigner.GetDesignTimeHtml Method (DesignerRegionCollection)

 

Creates an EditableDesignerRegion in the designer before generating the design-time HTML of the control.

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

public override string GetDesignTimeHtml(
	DesignerRegionCollection regions
)

Parameters

regions
Type: System.Web.UI.Design.DesignerRegionCollection

The DesignerRegionCollection, if any, associated with the control.

Return Value

Type: System.String

A String representing the design-time HTML of the control.

Notes to Inheritors:

When overriding this method, you must call the base method for designer regions to build correctly.

.NET Framework
Available since 2.0
Return to top
Show: