RichHtmlField.AllowTextMarkup Property

Definition

Gets or sets the constraint that allows explicit text markup tags, such as bold and italic, to be added to the HTML.

public:
 property bool AllowTextMarkup { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(true)]
public bool AllowTextMarkup { get; set; }
member this.AllowTextMarkup : bool with get, set
Public Property AllowTextMarkup As Boolean

Property Value

Boolean

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

Attributes

Remarks

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.

Applies to