Trying to do a drag/drop on a tree view for reordering purposes with it declared like so:
The ItemDragStarting event is never called. As far as I can tell from the documentation it should work as soon as AllowDragging is set to true.
How do I get this to start dragging?
Thanks in advance, Lee.
Hi Lee Stevens,
ItemDragStarting event occurs when the drag and drop operation is starting in the SfTreeView. For more information related to the ItemDragStarting event, please refer to the below mentioned user guide documentation link,
UG Link: https://help.syncfusion.com/wpf/treeview/drag-and-drop#itemdragstarting-event
API Link: https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeView.SfTreeView.html#Syncfusion_UI_Xaml_TreeView_SfTreeView_ItemDragStarting
However, we have checked the reported issue with the provided details, but we are unable to reproduce the reported issue on our end. Here we have attached the tested sample and video demo. Please have a look at this. If you are facing the reported issue in any different scenario, modify the attached sample based on your scenario and share the video illustration for the reported issue. It will be helpful for us to proceed further.
If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.
I have updated our version of Syncfusion from 220.127.116.11 to 18.104.22.168 and this seems to have fixed the issue; it was the only difference I could find between our version and yours. Looks like I installed the .44 version a couple of hours before the new one, just unlucky I suppose!
I couldn't see any mention of the TreeView in the release notes mind you?
We regret any frustration caused by the problem with the "drag and drop functionality" in version v22.214.171.124 of our software. We are happy to announce that the issue has been identified and fixed in our next weekly NuGet release, v126.96.36.199. We will publish detailed release notes about the changes soon. You will be notified once the update is available.