Share via


RichHtmlField.DisableCustomStyles property

Gets or sets a value that indicates whether custom styles are enabled or disabled.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property DisableCustomStyles As Boolean
    Get
    Set
'Usage
Dim instance As RichHtmlField
Dim value As Boolean

value = instance.DisableCustomStyles

instance.DisableCustomStyles = value
[BrowsableAttribute(true)]
public bool DisableCustomStyles { get; set; }

Property value

Type: System.Boolean
Set this property to true if you do not want custom styles.

See also

Reference

RichHtmlField class

RichHtmlField members

Microsoft.SharePoint.Publishing.WebControls namespace

RichHtmlField