Drag & Drop

In WPF any UIElement or ContentElement can participate in drag and drop
A DataObject is used to store the data


Concept of a DragSource and a DragTarget


DragSource Events

GiveFeedback - occurs continuously during a drag. Typically changing the mouse pointer



DragTarget Events

DragEnter - occurs when dragged into the drop targets boundary
DragLeave - occurs when dragged out of the drop targets boundary
DragOver -
Drop - occurs when dropped into the drop target





© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrev