SPChrome class

Provides chrome capabilities for Web Parts.

Inheritance hierarchy

System.Object
  System.Web.UI.WebControls.WebParts.WebPartChrome
    Microsoft.SharePoint.WebPartPages.SPChrome

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPChrome _
    Inherits WebPartChrome
'Usage
Dim instance As SPChrome
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPChrome : WebPartChrome

Remarks

Controls rendering of the chrome, header, menu, and footer for Web Parts.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPChrome members

Microsoft.SharePoint.WebPartPages namespace