Dropping a Control into a Control


  • Is there a way to make UIElements draggable so they aren't simply being slid around? I have a draggable control using translate transform, but I'd like to be able to drop it into a canvas. The AllowDrop drop event handler isn't fired using this approach.

    I'd like to be able to take the control once it's dragged overtop of the canvas and make it a child of the canvas. Can anyone point towards a good approach for something like this?

    Wednesday, August 24, 2011 3:57 PM