Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetDesignTimeHeader method
Collapse the table of content
Expand the table of content

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)

public string GetDesignTimeHeader()

Return value

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

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

© 2015 Microsoft