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.