ListBox分组不可见项

ListBox分组不可见项

本文介绍了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.


推荐答案


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

08-19 15:21