Is there some collection that is supported in Silverlight, WPF and Windows Phone, that will satisfy following criteria:
- accepts
IEnumerable<T>as source - allows filtering and sorting items
- allows adding, editing and deleting items in filtered list
- any changes to filtered/sorted list are reflected to source list also (I am considering filtered/sorted list only as a view to source collection)
- any changes to filtered/sorted list will be reflected on UI control (Gridview, ListView…).
You want an ObservableCollection. There’s really nothing else.
A variation is your own object that implements IList, but internally does whatever you want. For that, you’d make a class that looks like this
EDIT:
There is also the CollectionViewSource object