Drag and Drop Management for Silverlight

Recently, I needed to add drag and drop features to a Silverlight application. Can anyone recommend a good drag control?

+4
source share
5 answers

I created a drag controller that I think works very well. I used this technique for a while, and I was very pleased with it.

http://houseofbilz.com/archive/2009/02/10/drag-and-drop-with-silverlight.aspx

+2
source

Here is a link to the best I've found so far: http://nickssoftwareblog.com/2008/10/07/silverlight-20-in-examples-part-drag-and-drop-inside-out/

The code is available as a download from a blog post, although you need to rename it to .zip: http://nickssoftwareblog.files.wordpress.com/2008/10/genericdragdropzip.doc

+2
source

You can try Blacklight Controls that have a really neat control panel control. Here's a blog link describing how this works.

+2
source

I recommend the Silverlight Toolkit for dragging items inside a single application.

It has already been updated for Silverlight 5.

+2
source

I assume you have already found a solution. But here is the solution that I have written and am currently using, which is very flexible and easy to use: http://sl4dragdrop.codeplex.com/

It works very well on SL5, all you have to do is add the dependency properties of the elements or controls on which you want to enable drag and drop.

By default, this is enough. But if you want to customize the parts of the drag and drop, this gives you interfaces for implementation that can control things like the Drop item, Which item to drag, What image to show when dragging, etc.

I recently refined it a bit and will soon post an update after some testing.

0
source

All Articles