SPChromeSettings.UseDefaultStyles Property
Allows a Web Part to set a value to choose whether to use default styles (CSS) while rendering the Web Part body.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property UseDefaultStyles As Boolean
Get
Set
'Usage
Dim instance As SPChromeSettings
Dim value As Boolean
value = instance.UseDefaultStyles
instance.UseDefaultStyles = value
public bool UseDefaultStyles { get; set; }
Property Value
Type: System.Boolean
Remarks
The default value for an ASP.NET 2.0 Web Part is true.