Share via


RichHtmlField.AllowInsert Property

Gets or sets whether Insert options are shown.

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

Syntax

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

value = instance.AllowInsert

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

Property Value

Type: System.Boolean
Specifies whether the insertion of items is enabled.
Returns Boolean.

Remarks

This restriction only disables the menu(s) and does not force the content to adhere to this restriction.

See Also

Reference

RichHtmlField Class

RichHtmlField Members

Microsoft.SharePoint.Publishing.WebControls Namespace