WP7 Auto Grow ListBox upon reaching the last item(到达最后一项时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 中是否可行?
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自动增长列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:到达最后一项时WP7自动增长列表框


- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 输入按键事件处理程序 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01