แก้ไข

แชร์ผ่าน


WebFormsRootDesigner.GenerateEmptyDesignTimeHtml(Control) Method

Definition

Generates empty HTML markup for a control at design time.

public:
 virtual System::String ^ GenerateEmptyDesignTimeHtml(System::Web::UI::Control ^ control);
public virtual string GenerateEmptyDesignTimeHtml (System.Web.UI.Control control);
abstract member GenerateEmptyDesignTimeHtml : System.Web.UI.Control -> string
override this.GenerateEmptyDesignTimeHtml : System.Web.UI.Control -> string
Public Overridable Function GenerateEmptyDesignTimeHtml (control As Control) As String

Parameters

control
Control

The control to generate HTML markup for.

Returns

HTML markup for an empty control.

Remarks

The GenerateEmptyDesignTimeHtml method enables a consistent display of empty controls at design time.

Applies to

See also