|109832||Jul 5,2013 07:43 PM UTC||Jul 12,2013 05:49 AM UTC||WPF||2|
Private Sub TreeViewItemAdv_Drop(sender As Object, e As Windows.DragEventArgs)
'Get the item that is receiving the dropped item
Dim tvTargetItem As TreeViewItemAdv = e.Source
'Get the item that is being dropped onto tvTargetItem
Dim tvItemBeingDragged As TreeViewItem = e.Data.GetData(GetType(TreeViewItem))
'Do some stuff here with the items
Is there another way to get the TreeViewItem being dragged?
Thanks for using Syncfusion products.
You can achieve your requirement by using the e.DraggingItems and e.TargetDropItem in DragEnd event. We have prepared a sample based on this and you can find the sample under the following location.
Please let us know if this helps.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.