Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: INotifyPropertyChanged and WPF Datagrid

$
0
0
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!

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>