Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
NotifyPropertyChanged
posted

Hi, (three times in a row today :-)

When my usercontrol loads, I set the ItemsSource of my xamWebGrid to an ObservableCollection.

This ObservableCollection inherits from INotifyPropertyChanged.

When I use the CellExitedEditMode event, I update my ObservableCollection. However, I don't set the ItemsSource again because otherwise I get an xaml error (because probably it loses it's active cell)

I always thought that with an ObservableCollection that uses INotifyPropertyChanged, it wasn't necessary to set the ItemsSource each time. Could there be something else that I'm missing ?

Thanks,

Nicolas