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

DragDropBehaviorBase<TDragDropBehaviorSource, TDragDropBehaviorProperties>.BeginDragDrop Event

Occurs when a drag-and-drop operation is initiated.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v19.1.dll

Declaration

[DXCategory("DragDrop")]
public event BeginDragDropEventHandler BeginDragDrop

Event Data

The BeginDragDrop event's data class is BeginDragDropEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Data Gets or sets the dragged data elements.
PreviewImage Gets or sets a preview of dragged data elements (rows/nodes/items).

Remarks

If you attached the Drag-and-Drop Behavior to a control in the designer, use the DragDropEvents component to subscribe to the drag-and-drop events.

See Also