System.Web.UI.Design.WebControls.CheckBoxDesigner.GetDesignTimeHtml Method

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

Syntax

public override string GetDesignTimeHtml ()

Returns

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

Remarks

If the System.Web.UI.WebControls.Button.Text property is empty or consists only of white space, then the generated HTML contains the System.Web.UI.Control.ID of the check box control; otherwise, the generated HTML contains the contents of the control's System.Web.UI.WebControls.Button.Text property.

Override this method to change the generated HTML.

Requirements

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