Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether the default font size and style are applied to the Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Property UseDefaultStyles As Boolean
Get
Set
'Usage
Dim instance As WebPart
Dim value As Boolean
value = instance.UseDefaultStyles
instance.UseDefaultStyles = value
[WebPartStorageAttribute(Storage.None)]
public bool UseDefaultStyles { get; set; }
Type: System.Boolean
true if the default font size and style are applied; otherwise, false.
The value of UseDefaultStyles property is not persisted; the value of its WebPartStorageAttribute is Storage.Shared