Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AllowStyles property

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)

[BrowsableAttribute(true)]
public bool AllowStyles { get; set; }

Property value

Type: System.Boolean
Specifies whether the style menu is enabled.
Returns Boolean.

This restriction only disables the menus and does not force the content to adhere to this restriction.

Show:
© 2015 Microsoft