Share via


GetDesignTimeHeader Method

The GetDesignTimeHeader method of the WebPart class returns static HTML for the header portion of a Web Part frame to a custom designer created by deriving from System.Web.UI.ControlDesigner.

Return Value

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 on a minimize icon, will have no effect.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security