Share via


ConsoleDesigner.GetDesignTimeHtml method

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

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overrides Function GetDesignTimeHtml As String
'Usage
Dim instance As ConsoleDesigner
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
public override string GetDesignTimeHtml()

Return value

Type: System.String
The HTML markup used to represent the control at design time.

Remarks

Notes to inheritors

If you are creating a custom container control, make sure that you render the control and all child controls at design time, regardless of whether the Visible property is set to true or false.

See also

Reference

ConsoleDesigner class

ConsoleDesigner members

GetDesignTimeHtml overload

Microsoft.SharePoint.Publishing.WebControls namespace