<<
Introduction |
Observable lists >> |
Chapter 1
INotifyPropertyChanged,
BaseNotifyPropertyChanged and Notificator
|
NOTE!!! Property name is not even needed to be specified in OnPropertyChanged. All tests concluded showed only bad things while System.Data.Bindings were checking for specific property change so sometimes during 0.98 change was adopted to always post message for complete object - Calculated read only properties were not updated in clients - Much larger strain on CPU as string comparision is not really ultra light operation |
Creation of data class in simple steps... 1) Implement
INotifyPropertyChanged or derive from BaseNotifyPropertyChanged
2) Check if new value neing assigned is not the same as already assigned 3) Call OnPropertyChanged after assigning new value |
<<
Introduction |
Observable lists >> |