This project has moved and is read-only. For the latest updates, please go here.

INotifyPropertyChanged and WPF Datagrid

Jul 25, 2014 at 5:27 PM
Edited Jul 25, 2014 at 5:42 PM
I currently have a Datagrid whose Contents and formatting are bound to my data. However, dynamic changes made (programmatically) to the underlying data do not reflect on my grid.

Upon further research, it seems that I probably need to make use of the PropertyChanged as an UpdateSourceTrigger. I've proceeded to have my data class implement the INotifyPropertyChanged interface, is there any special interface my data collection should implement? What exactly should my PropertyChanged event handler be hooked up to? Also, if I have an array of a custom object in my class, do those objects need to also implement INotifyPropertyChanged?

Thanks in advance!