WP7自动增长的ListBox在到达最后一个项目 [英] WP7 Auto Grow ListBox upon reaching the last item

查看:108
本文介绍了WP7自动增长的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这甚至可能

编辑:说这句话的另​​一种方法是,我们可以检测到何时一个列表中的反弹?

Another way of saying this is, can we detect when a list has "bounced"?

推荐答案

丹尼尔·沃恩已经发布了如何在的http://danielvaughan.orpius.com/post/Scroll-Based-Data-Loading -in-Windows的手机,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自动增长的ListBox在到达最后一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆