UseDefaultStyles Property
This documentation is archived and is not being maintained.

WebPart.UseDefaultStyles Property

Windows SharePoint Services 3

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)

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

© 2016 Microsoft