Share via


WebPartZone.CreateWebPartChrome method

Creates a WebPartChrome object to change the appearance of the WebPart controls in the zone.

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

Syntax

'Declaration
Protected Overrides Function CreateWebPartChrome As WebPartChrome
'Usage
Dim returnValue As WebPartChrome

returnValue = Me.CreateWebPartChrome()
protected override WebPartChrome CreateWebPartChrome()

Return value

Type: System.Web.UI.WebControls.WebParts.WebPartChrome
An SPChrome object that determines how WebPart controls in the zone are rendered.

Remarks

WebPartChrome refers to the peripheral user interface (UI) elements that frame each WebPart control in a zone. The chrome for a WebPart control includes its border, its title bar, and the icons, title text, and verbs menu that appear within the title bar. The appearance of the chrome is set at the zone level, and applies to all WebPart controls in a zone.

See also

Reference

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace