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.2.dll
Declaration
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