I have ObservableCollection<ViewUnit> _myItems field, where ViewUnit implements INotifyPropertyChanged.
ViewUnit has Handled : bool property.
The main view of WPF application has a ListBox which binds to _myItems.
I want a separate view of non-handled items only, that is, to have an IObservableCollection<> depended on existing _myItems but having only filtered items, preferably, using a lambda expression.
Ideally, this would be
IObservableCollection<ViewUnit> _myFilteredCollection = HelperClass<ViewUnit>.FromExisting(_myItems, (e) => !e.Handled);
I could implement it on my own. I just feel somebody though this problem through and has a good solution available (I just don't know its name).