Bind ListView to ObservableCollection and Linq?

Just don't use linq, there are CollectionViews for this sort of thing which have filters, you then only have to refresh the views (See: How to: Filter data in a view ). (If you must use linq there are also bindable extensions to it).

The LINQ query is evaluated when it is bound to the data source and the items in the list view are generated. The LINQ query will not be re-evaluated whenever you change the properties of a person inside the original list _persons. To achieve this, you have to do a custom implementation that listens to the PropertyChanged event of each Person in the original list and updates an ObservableCollection accordingly.

This observable collection you would bind to the list view.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions