ערוך

שתף באמצעות


WebPartZoneDesigner.GetDesignTimeHtml Method

Definition

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

Overloads

GetDesignTimeHtml()

Gets the markup that is used to represent the control at design time by calling the GetDesignTimeHtml(DesignerRegionCollection) method with a null argument.

GetDesignTimeHtml(DesignerRegionCollection)

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

GetDesignTimeHtml()

Gets the markup that is used to represent the control at design time by calling the GetDesignTimeHtml(DesignerRegionCollection) method with a null argument.

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

Returns

A method call to GetDesignTimeHtml(DesignerRegionCollection) with a null argument as the parameter.

Notes to Inheritors

When overriding this method, you must call GetDesignTimeHtml(DesignerRegionCollection) with a DesignerRegionCollection or null as an argument so that designer regions build correctly.

Applies to

GetDesignTimeHtml(DesignerRegionCollection)

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

public:
 override System::String ^ GetDesignTimeHtml(System::Web::UI::Design::DesignerRegionCollection ^ regions);
public override string GetDesignTimeHtml (System.Web.UI.Design.DesignerRegionCollection regions);
override this.GetDesignTimeHtml : System.Web.UI.Design.DesignerRegionCollection -> string
Public Overrides Function GetDesignTimeHtml (regions As DesignerRegionCollection) As String

Parameters

regions
DesignerRegionCollection

The DesignerRegionCollection, if any, associated with the control.

Returns

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.

Applies to