Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
RichHtmlField Class
 AllowHeadings Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
RichHtmlField.AllowHeadings Property (Microsoft.SharePoint.Publishing.WebControls)
Gets or sets the constraint that allows heading tags to be added to the HTML.

Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Visual Basic (Declaration)
<BrowsableAttribute(True)> _
Public Property AllowHeadings As Boolean
Visual Basic (Usage)
Dim instance As RichHtmlField
Dim value As Boolean

value = instance.AllowHeadings

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

Property Value

When this flag is set to False, heading tags are not allowed in the HTML.

If this flag is set to False, <DIR>, <H1>, <H2>, <H3>, <H4>, <H5>, <H6>, <MARQUEE>, <ADDRESS> and <CENTER> tags are removed from the HTML. Default is TRUE. This property also determines whether the editing user interface (UI) enables these operations.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker