WPF ListBox分组不可见项 [英] WPF ListBox grouping invisible items

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

问题描述

您好,我正在尝试使用列表框进行分组,并且分组方面可以正常工作*.问题是,当我添加"PropertyGroupDescription"时,我的"CollectionViewSource"实体会显示组,但不会显示项目.如果我删除该组描述实体,则显示项目,而(当然)不显示这些组.

Hello, I'm trying to do grouping with my listbox, and the grouping side of things, works*.  The problem is, when i add a "PropertyGroupDescription" entity to my "CollectionViewSource" the groups are displayed, but the items aren't.  If I take out that group description entity, the items are displayed and (of course) the groups aren't.


推荐答案

BrendanMcKenzie,

数据源的结构和内容是什么?

最好的问候,
智欣
Hi BrendanMcKenzie,

What's the structure and content of the data source?

Best Regards,
Zhi-Xin


这篇关于WPF ListBox分组不可见项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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