问题描述
我正在尝试实现一种效果,当用户向下滚动到最后一项时,会将更多项附加到列表中.我还没有找到确定用户是否滚动到列表末尾的方法.当用户到达列表底部时,我没有看到 ListBox 上触发的事件.告诉我一个项目何时被滚动到视图中的东西会很棒,但据我所知,没有这样的东西.
I'm trying to achieve an effect where more items are appended to the list when the user scrolls down to the last item. I haven't found a way to determine if the user has scrolled to the end of the list. I don't see a event on ListBox that is fired when the user reaches the bottom of the list. Something that tells me when an item has been scrolled into view would be great, but as far as I can tell, there is nothing like that.
这在 WP7 中是否可行?
Is this even possible in WP7?
另一种说法是,我们能否检测到列表何时反弹"?
Another way of saying this is, can we detect when a list has "bounced"?
推荐答案
Daniel Vaughan 在 http://danielvaughan.orpius.com/post/Scroll-Based-Data-Loading-in-Windows-Phone-7.aspx
Daniel Vaughan has posted an example of how to detect for this at http://danielvaughan.orpius.com/post/Scroll-Based-Data-Loading-in-Windows-Phone-7.aspx
这篇关于到达最后一项时WP7自动增长列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!