WPF Datagrid Multiple Filters

Mar 29, 2013 at 8:14 PM
I need to know how to implement filtering of multiple columns in a DataGrid, where every column has its own filter using MVVM and no code behind.
Jun 24, 2013 at 11:51 PM
Implement you own ListCollectionView
IMultipleFilterListColllectionView and provide a AddFilters, RemoveFilters and ClearFilters methods

dummy codes
void AddFilters(List<Predicate> filters)
base.Filter = Filter;

private bool Filter(object o)
foreach(filter in _filters)
var result = filter.Invoke(o);
if (!result) {return false}

return true;