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

+2


a source to share


1 answer


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.



+2


a source







All Articles