共用方式為


SPChrome class

提供 Web 組件中的色彩功能。

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

備註

控制項呈現的色彩、 頁首、 功能表和頁尾的 Web 組件。

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.

請參閱

參照

SPChrome members

Microsoft.SharePoint.WebPartPages namespace