RichHtmlField.AllowTables property

Gets or sets the constraint that allows table handling tags to be added to the HTML.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property AllowTables As Boolean
    Get
    Set
'Usage
Dim instance As RichHtmlField
Dim value As Boolean

value = instance.AllowTables

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

Property value

Type: System.Boolean
When this flag is set to false, table handling tags are not allowed in the HTML.

Remarks

If this flag is set to false, <CAPTION>, <COL>, <COLGROUP>, <TABLE>, <TBODY>, <TD>, <TFOOT>, <TH>, <THEAD>, <TR>, <FIELDSET>, <LEGEND> and <HR> tags will removed from the HTML. Default is true. This property also determines whether the editing user interface (UI) enables these operations.

See also

Reference

RichHtmlField class

RichHtmlField members

Microsoft.SharePoint.Publishing.WebControls namespace

AllowTables

Validate

RichHtmlField