DragDropBehaviorProperties.AllowDrag Property
Gets or sets whether users are allowed to drag data elements from the control.
Namespace: DevExpress.Utils.DragDrop
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true if users are allowed to drag data elements from the 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