This is a migrated thread and some comments may be shown as answers.

Example: ListBox/TreeView/GridView/ScheduleView drag-drop, reorder items and more.

0 Answers 227 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Valeri Hristov
Top achievements
Rank 1
Valeri Hristov asked on 22 Nov 2011, 12:28 PM
Hello everyone,

In the past months we created a few behaviors that should ease your life when developing drag-drop functionality in Telerik RadControls for Silverlight and WPF. We tried to cover the most common scenarios - drag-drop between controls, reorder items within a control, drag visual customization and data conversion. The behaviors were designed to work with the standard ListBox, RadScheduleView, RadTreeView and RadGridView.

The drag-drop behaviors are still work in progress and we could make small changes to the API, so will greatly appreciate if you try them and drop us a line about your experience. We will do our best to provide bugfixes as soon as possible, and also consider all feature requests that you send.

A few words about the behaviors: the main idea is to hide the drag-drop events usage and provide simple and clean API that allows you to easily manipulate the dragged data. You can find more information here and in the related articles:
http://www.telerik.com/help/silverlight/dragdropmanager-behaviors-listboxdragdropbehavior.html

An online demo demonstrating drag-drop between RadScheduleView and a standard ListBox can be found here:
http://demos.telerik.com/silverlight/#ScheduleView/DragDrop

Attached is a simple application that demonstrates the basic features of the GridView and the TreeView behaviors.

Regards,
Valeri Hristov
Telerik

No answers yet. Maybe you can help?

Tags
DragAndDrop
Asked by
Valeri Hristov
Top achievements
Rank 1
Share this question
or