To get the parent node of a treeview in the TreeViewDragDropTarget in Silverlight -


After

I have created a TreeViewDragDropTarget like this,

   & Lt; / Common: HierarchicalDataTemplate & gt; & Lt; / ControlsToolKit: TreeViewDragDropTarget.Resources & gt; & Lt; Control: TreeView X: Name = "MainTreeView" BorderThickness = "1" ItemTemplate = "{StaticResource hierarchicalTemplate}" background = "transparent" cursor = "hand" BorderBrush = "{x: null}" VerticalAlignment = "top" /> ; & Lt; / ControlToolKit: TreeViewDragDropTarget & gt; What I am doing is leaving some text in the preview node. I want to find the original node of drop target. How do I do this?  

"itemprop =" text ">

after this post check this post. You must use the drop-event of the tree view control.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -