Silverlight 4 Drag and Drop
I want to add the ability to drag a user control from one part of a Silverlight 4 page to another user control on the same page (not to mention Silverlight 4's new ability to drag a file from the OS to the page).
Which approach is the simplest? Which approach offers the most flexibility?
Here are some alternatives I've found so far
- SO drag-and-drop-control-for-silverlight . Same question, but the answers refer to SL 2.
- Alex van Beek DragManager . Written for SL3.
- Silverlight Drag Drop . Also written for SL3.
a source to share
I can't compare all of the options you provided, but if I wanted to implement a control to control the drag and drop functionality, I would use classes from DragDrop
and DragDropTarget
from the Silveright Toolkit. Its only DragDrop framework I know of has been updated for SL4 and if you are already using items from the Toolkit this would be a natural solution.
a source to share