Windows Phone芒果-ListBox或LongListSelector? [英] Windows Phone Mango - ListBox or LongListSelector?

查看:77
本文介绍了Windows Phone芒果-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芒果-ListBox或LongListSelector?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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