Answer the question
In order to leave comments, you need to log in
How to implement the MVVM pattern correctly?
Hello! I am learning WPF and MVVM pattern, I want to apply it in my program. My program at startup reads the settings and connects to the database. Accordingly, it notifies the user that the settings were not read and whether the connection to the database has occurred or it has failed. I want to make the notification according to MVVM using bindings. It is clear that View is an application window. I think that the model, or rather models, should be classes containing information about the state of reading settings and connecting to the database. But what will the ViewModel be then?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question