WP7列表框分组 [英] WP7 ListBox Grouping

查看:79
本文介绍了WP7列表框分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

列表框或其他UI控件是否有内置分组?我想要一个列表,但是有某种形式的分组或部分应用于列表.如下图所示:

Is there any in-built grouping for ListBoxes or another UI control? I would like to have a list but have some form of grouping or sections applied to the list. As shown below:

heading one
     list item one
     list item two
heading two
     list item one
     list item two
     list item three
     list item four

是否有任何可用的目的而无需从头开始构建?我不希望将一个匹配的多个ListBox混合在一起,而是希望有一个在数据绑定级别上进行处理的解决方案.

Is there anything available for such purpose without building something from scratch? I don't wish to mix a match multiple ListBoxes, rather I would prefer a solution where this was handled at the data binding level.

推荐答案

您要查看它的控件外观+行为类似于电话上联系人/等中的分组行为.

Its a control that looks+behaves just like the grouping behavior in contacts/etc on the phone.

这篇关于WP7列表框分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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