TextControlDesigner.GetDesignTimeHtml Method ()

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

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public override string GetDesignTimeHtml ()
public String GetDesignTimeHtml ()
public override function GetDesignTimeHtml () : String

Return Value

The HTML used to represent the control at design time.

This class overrides this method to ensure that a non-empty Text property value is present when rendering the control for display on the design surface, to ensure a meaningful representation. This method sets any empty Text property on the control to the ID property of the control.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: