DataFormWebPart.GetDesignTimeHtml method

Returns the control as design-time HTML for editing in web development tools.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Overridable Function GetDesignTimeHtml As String
'Usage
Dim instance As DataFormWebPart
Dim returnValue As String

returnValue = instance.GetDesignTimeHtml()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public virtual string GetDesignTimeHtml()

Return value

Type: System.String
The design-time HTML.

Implements

IDesignTimeHtmlProvider.GetDesignTimeHtml()

Remarks

The design host calls this method to get the design-time HTML before rendering the control.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace