.NET Drag and drop Canvas

Yesterday I found myself doing again the piece of code to deal with drag´n´drop of controls in a WPF canvas. That is boring to do, adds a lot, and in my opinion should be shipped as a standard control. I based myself on this blog to create a C# reusable control that can be used in place of a canvas. It can be downloaded here.
Its embedded in a small example that shows its use. Feel free to try, modify, extend...

I hope it may help people.

Comments