Drag and Drop from a treeView to an other one

Dec 4, 2009 at 3:13 PM

Hello evrybody!

I have to drag  bind data from a ReadOnly tree view and drop to copy the data to an other tree view. The target tree view have some rules to respect (number of children).

I use TreeViewDragDropTarget  for both, with the same data template.

The problem is that  when i use the Drop event on my target tree view i want to have rules for drop and i can't reah the drop target element my TreeViewItem.

I want to know his id  to know whitch rules to apply!

 

i don't know if you understand what is my problem but you can ask what you need....

 

thanks for futur  help