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自动增长列表框


基础教程推荐
- rabbitmq 的 REST API 2022-01-01
- 有没有办法忽略 2GB 文件上传的 maxRequestLength 限制? 2022-01-01
- SSE 浮点算术是否可重现? 2022-01-01
- 将 XML 转换为通用列表 2022-01-01
- 如何激活MC67中的红灯 2022-01-01
- 如何在 IDE 中获取 Xamarin Studio C# 输出? 2022-01-01
- 为什么Flurl.Http DownloadFileAsync/Http客户端GetAsync需要 2022-09-30
- 将 Office 安装到 Windows 容器 (servercore:ltsc2019) 失败,错误代码为 17002 2022-01-01
- MS Visual Studio .NET 的替代品 2022-01-01
- c# Math.Sqrt 实现 2022-01-01