I would like know if it's possible to disable the reposition's animation of all tiles after the DragDrop action?
Does it exist an event at the end of the DragDrop animation ? Because after the event DragDropService.Stopped I can see that my tiles are still animated.
Thanks for your help.
3 Answers, 1 is accepted
Thank you for writing.
Note that RadPanorama uses its TileDragDropService to perform drag and drop operation. In the TileDragDropService.PrepareContext method, AnimatedPropertySetting is applied to the tiles manipulating the offset and the scale transform. You can prevent this functionality by using a custom TileDragDropService. You should suspend animations of RadPanorama as well:
I hope this information helps. Should you have further questions I would be glad to help.
Thanks a lot for your help. It's exactly what I'm looking for.
I have one more question. I put the component RadPanorama in a RadScrollablePanel and I would like know if it's possible to make the action of the mouse Wheel horizontally?
Thank you for writing back.
In order to stop the default vertical scrolling when using the mouse wheel, it is appropriate to use IMessageFilter. Additional information is available on the following link: https://social.msdn.microsoft.com/Forums/windows/en-US/6bfb9287-986d-4c60-bbcc-23486e239384/making-a-scrollable-panel-scroll-with-mousewheel-just-by-hovering-mouse?forum=winforms
Following the illustrated approach, I handled the mouse wheel message and performed horizontal scrolling:
Note that this is just a sample approach and it may not cover all possible cases. Feel free to modify it in a way which suits your requirement best.
I hope this information helps. If you have any additional questions, please let me know.