Wednesday, October 15, 2008
by
XAML Team
|
Comments 6
Who would not like to implement a sleek drag and drop in minutes? I definitely would.
This is why I find the new RadDragAndDrop a welcome addition to the controls.
Straight to the point then: How to implement a simple drag/drop? To answer this question I will walk you through the DragDrop example that is available here:
http://demos.telerik.com/silverlight/#Examples/DragAndDrop/FirstLook
This example shows that the DragDrop can be used with any controls/objects, not just the Telerik RadControls.

DragDrop 101
Few simple things to remember: Every object that will be dragged must have AllowDrag property to true, it is an attached property and in xaml it can be set the following way:
<Rectangle...