问题描述
在我的程序,我加载整个表和我想组基于日期的所有列。我不知道该怎么做在XAML。对不起我的英语不好。我的桌子看起来像这样:
罐的东西可以从该级表中的实现的呢?
解决方法
您可以使用 CollectionViewSource 对数据进行排序、过滤和分组,然后将其绑定到 ItemsSource
的 ListView
。
查看以下文章:
How to: Group Items in a ListView That Implements a GridView
在我的程序,我加载整个表和我想组基于日期的所有列。我不知道该怎么做在XAML。对不起我的英语不好。我的桌子看起来像这样:
罐的东西可以从该级表中的实现的呢?
您可以使用 CollectionViewSource 对数据进行排序、过滤和分组,然后将其绑定到 ItemsSource
的 ListView
。
查看以下文章:
How to: Group Items in a ListView That Implements a GridView