Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
RichHtmlField Class
 AllowTextMarkup Property
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
RichHtmlField.AllowTextMarkup Property (Microsoft.SharePoint.Publishing.WebControls)
Gets or sets the constraint that allows explicit text markup tags, such as bold and italic, 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 AllowTextMarkup As Boolean
Visual Basic (Usage)
Dim instance As RichHtmlField
Dim value As Boolean

value = instance.AllowTextMarkup

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

Property Value

When this flag is set to False, explicit text markup tags, such as bold and italic, are not allowed in the HTML.

If this flag is set to False, <B>, <EM>, <I>, <STRONG>, <S>, <STRIKE>, <TT>, <ABBR>, <ACRONYM>, <CITE>, <CODE>, <DEL>, <DFN>, <INS>, <SAMP>, <BDO>, <RT>, <RUBY>, <U>, <BIG>, <SMALL>, <SUB>, <SUP>, <PRE>, <PLAINTEXT>, <XMP>, <Q>, <LISTING>, <BLOCKQUOTE>, <NOBR> and <WBR> tags will 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 | Site Feedback
Page view tracker