Partager via


SPChrome Class

Provides Windows SharePoint Services 2.0 capabilities for Microsoft ASP.NET 2.0 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

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPChrome _
    Inherits WebPartChrome

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 Office SharePoint Server 2007 and ASP.NET 2.0 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