RichHtmlField.AllowStyles Property
Gets or sets whether the style menu is enabled.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
Public Property AllowStyles As Boolean
Get
Set
'Usage
Dim instance As RichHtmlField
Dim value As Boolean
value = instance.AllowStyles
instance.AllowStyles = value
[BrowsableAttribute(true)]
public bool AllowStyles { get; set; }
Property Value
Type: System.Boolean
Specifies whether the style menu is enabled.
Returns Boolean.
Remarks
This restriction only disables the menus and does not force the content to adhere to this restriction.