C#C
C#3y ago
Jochem

✅ MAUI UI won't update after calling OnPropertyChanged from Command

Hey there, I am working on a MAUI application and came across a problem where the UI won't update after calling OnPropertyChanged I know for sure that function gets called because I tested that using a debugger and break points. I made a small test project that displays three buttons. Whenever a button is pressed, the color of the button should change from red to green. However this does not happen. I just can't seem to figure out why :(.

I've pasted the code for my view model and view below.
Was this page helpful?