Replies: 3 comments 2 replies
-
What is INPC? |
Beta Was this translation helpful? Give feedback.
-
They add INotifyPropertyChanged to the class and have a rule that errors if the class already inherits from the interface which IScreen does. |
Beta Was this translation helpful? Give feedback.
-
I dont think the mvvm community toolkit observable property attribute will work with caliburn micro. i can create a Caliburn Micro extensions project and add a NotifyPropertyChanged attribute so it auto generates the notify property change code for you. While I work on that you could look at Fody Property Changed. (note I have not tried it with Caliburn Micro) |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use MVVM Toolkit for the INPC but can't figure a way to get it to work with IScreen and [ObservableProperty] or [ObservableObject]. I even considered forking MVVM Toolkit and removing rule to keep objects from already inheriting from INPC.
Beta Was this translation helpful? Give feedback.
All reactions