Compartilhar via


WebPart.GetDesignTimeHeader Method

Returns static HTML for the header portion of a Web Part frame to a custom designer created by deriving from System.Web.UI.ControlDesigner.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetDesignTimeHeader As String
'Usage
Dim instance As WebPart
Dim returnValue As String

returnValue = instance.GetDesignTimeHeader()
public string GetDesignTimeHeader()

Return Value

Type: System.String
A string that specifies the HTML for the header portion of the Web Part frame.

Remarks

Any user interface actions performed in the header while in design mode, such as clicking a minimize icon, will have no effect.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace