Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WebPart.UseDefaultStyles property

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)
[WebPartStorageAttribute(Storage.None)]
public bool UseDefaultStyles { get; set; }

Property value

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.