C
C#9mo ago
Spoot104

MVVM w/ Toolkit | Observing Child Properties

I was learning about MVVM, which I wasn't gonna touch yet, but I watched a video showcasing the Toolkit, which seemed to make following the MVVM pattern less painful. Anyways, I found out that the [ObservableProperty] doesn't watch for children. So I guess I'm wondering how do we implement models and watch for changes in models? https://github.com/DeveloperSpoot/CSharp-ATMApp-First_MVVM
GitHub
GitHub - DeveloperSpoot/CSharp-ATMApp-First_MVVM: First app to use ...
First app to use MVVM in CSharp (for me). Contribute to DeveloperSpoot/CSharp-ATMApp-First_MVVM development by creating an account on GitHub.
1 Reply
Spoot104
Spoot104OP9mo ago
I got it figured out. Needed to implement the INotifyProperityChange to the model, and also move the toStrings into the model as well.

Did you find this page helpful?