Can anyone suggest what I'm doing wrong? Basically, I have list items when an item is added to the list. I am dumping the collection into the viewmodel property. The only way I can get it to work is to exclude the member object before reassigning the binding. Any suggestions for updating the user interface when adding an item to the list?
public List<Item> RegisteredItems { get { return m_vRegisteredItems; } set { m_vRegisteredItems= null; NotifyPropertyChanged("RegisteredItems"); m_vRegisteredItems= value; NotifyPropertyChanged("RegisteredItems"); } }
source share