RichHtmlField.AllowLists Property
Gets or sets the constraint that allows list 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 AllowLists As Boolean
Get
Set
'Usage
Dim instance As RichHtmlField
Dim value As Boolean
value = instance.AllowLists
instance.AllowLists = value
[BrowsableAttribute(true)]
public bool AllowLists { get; set; }
Property Value
Type: System.Boolean
When this flag is set to false, list tags are not allowed in the HTML.
Remarks
If this flag is set to false, <LI>, <OL>, <UL>, <DD>, <DL>, <DT> and <MENU> tags will removed from the HTML. Default is true. This also determines whether the editing user interface (UI) enables these operations.