Hello,
I am using MVVM to implement my Drag and Drop in my TreeView. At the moment i am usng eventtrigger to bind my command when DragEnd event takes place. In Viewmodel, when the command calls my method, i am trying to call the appropriate service to delete and add the Nodes (treeviewitems) in the the treeviw to its appropriate parents. But my issue is figuring out the previous and the new parent of the child/node/radtreviewitem that had been dragged and dropped. So that when i call my serivices and tell what parent child is being deleted and which parent is getting a new child. I hope i am making sense here and your help is very much appreciated.
Thank You in advace,
I am using MVVM to implement my Drag and Drop in my TreeView. At the moment i am usng eventtrigger to bind my command when DragEnd event takes place. In Viewmodel, when the command calls my method, i am trying to call the appropriate service to delete and add the Nodes (treeviewitems) in the the treeviw to its appropriate parents. But my issue is figuring out the previous and the new parent of the child/node/radtreviewitem that had been dragged and dropped. So that when i call my serivices and tell what parent child is being deleted and which parent is getting a new child. I hope i am making sense here and your help is very much appreciated.
Thank You in advace,