Change in Observable collection not reflected in UI?

The ObservableCollection will notify the GUI if the list changes. However, you're changing the entire list itself with the line AllDivisions = existingPlaceList. You'll have to implement INotifyPropertyChanged for the class that contains the AllDivisions property to tell the GUI when you swap out the list.

1 Absolutely correct. He should add to the existing observablecollection. Changing the reference will not work.

– Aliostad Nov 15 '10 at 0:47 I just wanted to add new item to list. If I use only this line => AllPlaces. Add(newPlace);..Will it work?

– Relativity Nov 15 '10 at 0:48 @Anish: drop the AllPlaces= existingPlaceList assignment and use AllPlaces just as public property with a getter that returns existingPlaceList, also make existing PlaceList a class instance variable, if you have to empty it use Clear() instead of creating a new list everytime. – BrokenGlass Nov 15 '10 at 0:50 Check out this question: stackoverflow. Com/questions/3367717/… – Anero Nov 15 '10 at 2:14.

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