SPChrome.CreateWebPartChromeStyle method
This member overrides WebPartChrome.CreateWebPartChromeStyle(WebPart, PartChromeType).
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overrides Function CreateWebPartChromeStyle ( _
webPart As WebPart, _
chromeType As PartChromeType _
) As Style
'Usage
Dim webPart As WebPart
Dim chromeType As PartChromeType
Dim returnValue As Style
returnValue = Me.CreateWebPartChromeStyle(webPart, _
chromeType)
protected override Style CreateWebPartChromeStyle(
WebPart webPart,
PartChromeType chromeType
)
Parameters
- webPart
Type: System.Web.UI.WebControls.WebParts.WebPart
- chromeType
Type: System.Web.UI.WebControls.WebParts.PartChromeType
Return value
Type: System.Web.UI.WebControls.Style