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

TreeView Drag&Drop Events

1 Answer 57 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alexander Tokarenko
Top achievements
Rank 1
Alexander Tokarenko asked on 23 Oct 2009, 07:46 AM
Hello all. I try to use RadTreeView but I can't  catch events: PreviewDrop and Drop. But PreviewDragStarted and other Drag events I catch. And UI works successfully.

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 23 Oct 2009, 02:19 PM
Hello Alexander,

The TreeView does not use the built-in WPF DragDrop and it relies on our own implementation with the RadDragAndDropManager, mainly because of code compatibility with Silverlight.

The Drop and PreviewDrop events are inherited from the base visual classes and are not used.

The PreviewDragStarted and Drag events respectively are TreeView's own events and are used.

If you need, with some code, you can use the built-in WPF DragDrop as well, but the treeView does not by default.

I noticed that you have submitted bug report as well, I will reply in more detail there once I have a look at your code.

All the best,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Alexander Tokarenko
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or