Метод SPChrome.CreateWebPartChromeStyle
Этот элемент переопределяет WebPartChrome.CreateWebPartChromeStyle(WebPart, PartChromeType).
Пространство имен: Microsoft.SharePoint.WebPartPages
Сборка: Microsoft.SharePoint (в Microsoft.SharePoint.dll)
Синтаксис
'Декларация
Protected Overrides Function CreateWebPartChromeStyle ( _
webPart As WebPart, _
chromeType As PartChromeType _
) As Style
'Применение
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
)
Параметры
- webPart
Тип: System.Web.UI.WebControls.WebParts.WebPart
- chromeType
Тип: System.Web.UI.WebControls.WebParts.PartChromeType
Возвращаемое значение
Тип: System.Web.UI.WebControls.Style