Re:Former Tesla Firmware Engineer Discusses the System
by ac0kg on Friday August 24, 2018 @09:17PM
(#17839016)
I'd like to know more about this, can you recommend some good places to learn about it?
[ Parent
| on HN ]
Re:Former Tesla Firmware Engineer Discusses the System
by noir_lord on Saturday August 25, 2018 @05:04AM
(#17840177)
The actual principal is simple, your classes have private properties which contain the thing, you use get/set on public properties and on the set you raise a property change event (that's declared via an interface).
WPF binds to those objects and when you change the thing via a public property the change notification is fired and the UI updates.
Docs you want are MVVM and particularly INotifyProperyChanged.
https://www.c-sharpcorner.com/article/explain-inotifypropert...