I've looked at the Drop and ItemDroppedOn Target event handlers but it appears that you can only access the source. The sender is the TreeViewDragDropTarget when I actually want to see the item in the TreeView that is being dropped on.
views:
48answers:
2
+1
A:
private void drag_Drop(object sender, Microsoft.Windows.DragEventArgs e)
{
((System.Windows.FrameworkElement)(e.OriginalSource)).DataContext
Is what I was looking for
Druzil
2010-08-03 14:39:08
A:
Unfortunately does not really work... Gives the data context of the element containing the exact co-ordinate where drop occured (e.OriginalSource)... Howevfr this is not always the new parent... it can be also sibling if you drop it close to ah edge of e.OriginalSource...
jJ'
2010-10-08 14:25:59