DragDropBehaviorBase<TDragDropBehaviorSource, TDragDropBehaviorProperties>.BeginDragDrop Event
In This Article
Occurs when a drag-and-drop operation is initiated.
Namespace: DevExpress.Utils.DragDrop
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#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 Cancel |
Data | Gets or sets the dragged data elements. |
Preview |
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