ScrollView 上没有动画 ScrollToAsync
No animation ScrollToAsync on ScrollView
我有下一个代码:
async void Start(object sender, EventArgs e){
await ScrollContainer.ScrollToAsync(0,500,true);
}
它在 UWP 桌面上运行良好,但在我的 Windows 移动设备(真实设备)上不起作用 - 滚动视图位置发生变化,但没有动画效果。
我仍在滚动查看器上使用 WinRT 扩展来更好地控制动画...
StackO 上的代码 post 有点长,它是一系列扩展。
但是你可以see it here...
还有一个例子usage here...
我有下一个代码:
async void Start(object sender, EventArgs e){
await ScrollContainer.ScrollToAsync(0,500,true);
}
它在 UWP 桌面上运行良好,但在我的 Windows 移动设备(真实设备)上不起作用 - 滚动视图位置发生变化,但没有动画效果。
我仍在滚动查看器上使用 WinRT 扩展来更好地控制动画...
StackO 上的代码 post 有点长,它是一系列扩展。
但是你可以see it here...
还有一个例子usage here...