RichHtmlField.AllowDragDrop property
Gets or sets a Boolean value that indicates if the drag and drop of elements is supported for the field.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
Public Property AllowDragDrop As Boolean
Get
Set
'Usage
Dim instance As RichHtmlField
Dim value As Boolean
value = instance.AllowDragDrop
instance.AllowDragDrop = value
[BrowsableAttribute(true)]
public bool AllowDragDrop { get; set; }
Property value
Type: System.Boolean
The default value is true.
Remarks
When set to false, the image field does not allow users to drag and drop elements into the HTML field.