Animate (smoothly) ScrollViewer programmatically

后端 未结 4 1068
暗喜
暗喜 2020-12-29 02:24

Is there a way to smoothly animate a ScrollViewers vertical offset in Windows Phone 8.1 Runtime?

I have tried using the ScrollViewer.ChangeView()<

4条回答
  •  灰色年华
    2020-12-29 03:03

    I believe this article is what you're looking for and it seems the method he used is working for you.

    Quick Way:

    1. Add offset dependency parameter manually to scrollviewer.

    2. Duplicate your scrollviewer

    3. Use an animator.

提交回复
热议问题