How to scroll a ScrollViewer with animation
-
23-12-2019 - |
Question
I have a scrollviewer in a windows store app, I want to scroll it to a specific location, ScrollToHorizontalOffset
does that but without animation, I want to do that with animation.
Solution
If you do this in Windows 8.1, use ChangeView to use animations.
If you're stuck doing it in Windows 8, then you'll need WinRTXamlToolkit. It adds an extension method: ScrollToHorizontalOffsetWithAnimation
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow