ObservableCollections INotifyPropertyChanged
Posted: Wed Aug 03, 2016 2:53 am
Hi
Just wondering how this is done?
I have a few collections & lists in one class, which normally in software outside of C#/xaml for Html5 I serialize to JSON with Newtonsoft.
Don't have a problem showing my objects in tabs & with the ItemsControl. The JSON extension I have working too, but none of the changes I make in the UI actually come back in the JSON string when I try to serialize the object.
I changed my lists to ObservableCollections but that didn't help me. Do I have to implement INotifyPropertychanged everywhere?
Cheers
Dave
Just wondering how this is done?
I have a few collections & lists in one class, which normally in software outside of C#/xaml for Html5 I serialize to JSON with Newtonsoft.
Don't have a problem showing my objects in tabs & with the ItemsControl. The JSON extension I have working too, but none of the changes I make in the UI actually come back in the JSON string when I try to serialize the object.
I changed my lists to ObservableCollections but that didn't help me. Do I have to implement INotifyPropertychanged everywhere?
Cheers
Dave