阅读背景:

WPF在同一个ListCollectionView上使用多个过滤器

来源:互联网 

I'm using the MVVM design pattern, with a ListView bound to a ListCollectionView on the ViewModel. I also have several comboboxes that are used to filter the ListView. When the user selects an item from the combobox, the ListView is filtered for the selected item. Whenever I want to filter on top of what is already filtered, it undoes my previous filter like it never happened. The same is also true for removing a filter. Removing a filter for one combobox removes all filters and displays the original list. Is it possible to have multiple, separate filters on the same ListCollectionView? I'm using the MVVM design pattern, with a ListV




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: