Skip to main content
A newer version of this page is available. .

DragEnterEventArgs.AllowDrop Property

Gets or sets whether it is allowed to drop data elements to the target control.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public bool AllowDrop { get; set; }

Property Value

Type Description
Boolean

true to allow users to drop data elements to the target control; otherwise, false.

Remarks

Set the DragDropBehavior.Properties.AllowDrag property to false to use the attached control as the target of drag operations only.

Set the DragDropBehavior.Properties.AllowDrop property to false to use the attached control as the source of drag operations only. You can override this setting with the AllowDrop argument in a DragDropEvents.DragEnter event handler.

See Also