RichEditControl.DragDropMode Property

Gets or sets the drag-and-drop mode which is active in the RichEditControl.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(DragDropMode.Standard)]
public DragDropMode DragDropMode { get; set; }
<DXCategory("Behavior")>
<DefaultValue(DragDropMode.Standard)>
Public Property DragDropMode As DragDropMode

Property Value

Type Default Description
DragDropMode

Standard

A DragDropMode enumeration value.

Remarks

To enable RichEditControl's drag-and-drop operation in a Multi Threaded Apartment (MTA), the DragDropMode property value should be set to DragDropMode.Manual. In this case, drag-and-drop events such as DragEnter, DragLeave, DragOver and DragDrop are not raised.

NOTE

The Defauilt value of DragDropMode (the DragDropMode.Standard) in MTA state results in application failure.

See Also