I have a situation in which I am dragging/dropping nodes between two XamDataTrees.
Because my source tree contains many nodes, the auto-scroll feature is enabled. And when I attempt to drag/drop my selected node to my target tree, my source tree begins to scroll until it reaches the top of the tree, then it releases and I am able to drop my node on the target tree.
In this case I would like to disable scrolling on the source tree until my drag/drop operation is complete, but I haven't yet found a way to do this.
Does anyone know how to disable auto-scrolling during a drag/drop operation on the XamDataTree?
Thanks,
John
This sounds like a behavior that was addressed in the most recent service release. Are you running that SR?
Yes, to my knowledge I am running the latest SR (2115).
I was afraid of that.
Currently I don't think there is much you can do in that case. When you are dragging a node and above or below the tree the tree sets itself up to auto scroll. This looks like something we would have to add to the control, the ability to prevent auto scrolling on a tree.
I will have our DS staff put a feature request in for this.
I've tried doing something like the following in the DraggingStart event:
ScrollViewer.SetVerticalScrollBarVisibility(myDataTree, ScrollBarVisibility.Disabled);
But the layout is not updated since the drag/drop is happing in a different thread (?).
Do you know of a way to freeze the control UI using standard SL methods?
Hello,
I have logged feature request FR13694 on this issue. I have also created case CAS-75853-Y7BYTX on this issue which is associated with the above feature request. I will send you more details regarding the feature request through the support case.
Please let me know if you have any questions on this matter.
Is this fixed?
I am facing the same issue?
I am using InfragisticsWPF4 v12.2.
Thank You,
Pratik
Hello Pratik,
I believe that I have already answered you here:
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/78111/how-to-use-drag-and-drop-but-not-delete-the-data-from-the-source-in-xamdatatree/405957#405957
Hello Hari,
This behavior is still the default one and if you want to be able to change it you can log a product idea here:
https://ko.infragistics.com/community/ideas
Hi, I am facing the same and exact problem. Is this fixed?
Thanks
Hari