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

RadTreeView drop command or pre-post drag events?

0 Answers 89 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
MC
Top achievements
Rank 1
MC asked on 06 Aug 2018, 03:51 AM

I'm using RadTreeView's drag drop feature to reorder/nest items.

The control has many features that I (drop preview line, TreeViewDragVisual, and tooltip).

However, I need to execute some complex reorder/nest/unnest logic for the actual drag/drop operation (guards, pre and post).

So far, I was able to implement my guards by binding the RadTreeViewItem.IsDropAllowed.

But have no idea how to run some code before and after a drag/drop.

 

My questions:

1. Is it possible to invoke a command for a drag/drop operation, instead of automatically manipulating the bound collection?

2. Which events do I listen to before and after (collection is modified) a drag/drop operation? DragStarted and DragEnded events have been marked obsolete.

 

And if there is a workaround (custom implementation of drag/drop), can I continue using the other features of RadTreeView (drop preview line, TreeViewDragVisual, and tooltip)?

 

Thanks

minchew

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
MC
Top achievements
Rank 1
Share this question
or