Windows Phone Mango - ListBox 还是 LongListSelector? [英] Windows Phone Mango - ListBox or LongListSelector?

查看:10
本文介绍了Windows Phone Mango - ListBox 还是 LongListSelector?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我需要显示一个包含大量记录的列表,哪个控件更好?还是说,哪个控件的滚动体验更好?

Say if I need to display a list with lots and lots of records, which control is better? Or shall I say, which control has a better scrolling experience?

我看到很多人报告了这个 LongListSelector 的问题,它真的太难用了吗?

I've seen a lot of people reporting issues on this LongListSelector, is it really too buggy to use?

希望有人可以为我阐明这一点.谢谢你的建议.辛

Hope someone can shed some light on this for me. Thanks in adv. Xin

推荐答案

如果你不需要分组,我不会使用 LongListSelector.虚拟化支持使用常规 ListBox 更易于使用/管理.

If you don't need grouping, I wouldn't use the LongListSelector. The virtualization support is easier to use/manage with a regular ListBox.

从 Mango 开始,ListBox 性能问题不再是问题.两者都可以平滑滚动.

And as of Mango, the ListBox performance issues are no longer a issue. You get smooth scrolling with both.

所以我认为你应该坚持使用 ListBox.

So I think you should stick to the ListBox.

这篇关于Windows Phone Mango - ListBox 还是 LongListSelector?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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