WPF Datagrid Multiple Filters

Mar 29, 2013 at 9: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 25, 2013 at 12:51 AM
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;