Compartilhar via


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)
Available in Sandboxed Solutions: No

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