In my UWP app I'm trying to add support for zooming an image by double-clicking or via pinch-to-zoom gesture.
So I wrapped my image control inside a scrollviewer with ZoomMode=Enabled and got the pinch-to-zoom working. I can also listen to the DoubleTapped event on the scrollviewer and update its zoom factor by a call to ScrollViewer.ChangeView()
But a call to ScrollViewer.ChangeView() will change the zoom factor very abruptly and with no animation.
What I'd like to do is to change the zoom factor of the scrollviewer using an animation that has a bounce easing function.
Any ideas on how can this be done?