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 menus and does not force the content to adhere to this restriction.

See also

Reference

RichHtmlField class

RichHtmlField members

Microsoft.SharePoint.Publishing.WebControls namespace