0
kicks
Drag and drop so easy my grandma can do it
While working on a Silverlight 1.1 port of a solitaire game, I created a class that will add drag-and-drop behavior to any UIElement with one line of code. Yes, that’s right ladies and gents you too can have your UIElement (e.g. Canvas, Rectangle, Ellipse, TextBlock) drag-and-droppable with a line like this: UIBehaviour.DragAndDropBehaviour.Enable(myRectangle);