问题描述
限时送ChatGPT账号..我想使用动画滚动到 WP8 中 longlistselector 的最后一项.我可以看到在 wp7 中, LongListSelector 有一个 AnimateTo 方法.现在它不再.关于如何动画滚动的任何建议?谢谢
I want to scroll to the last item on my longlistselector in WP8, using animation. I can see that in wp7, LongListSelector had a AnimateTo method. Now it does no longer. Any advice of how to animate scrolling? Thanks
推荐答案
由于新的 LongListSelector 的实现方式,目前无法实现.如果你真的需要这个动画,你应该把你的自定义内容放在一个 ScrollViewer 中(请注意,这样做会失去虚拟化和其他好处,所以请慎重考虑.)
This is not currently possible due to the way the new LongListSelector is implemented. If you really need this animation, you should put your custom content in a ScrollViewer instead (note that you will lose virtualization and other benefits from doing this, so consider carefully.)
这篇关于wp8 LonglistSelector AnimateTo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论