Skip to main content
All docs
V26.1
  • DragDropBehaviorBase<TDragDropBehaviorSource, TDragDropBehaviorProperties>.BeginDragDrop Event

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

    Namespace: DevExpress.Utils.DragDrop

    Assembly: DevExpress.Utils.v26.1.dll

    NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

    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