Hello to all.
I decided to wear out myself with WPF. And of course, the MVVM pattern :)
Of course, I immediately ran into a problem, how to open a UserControl using the MVVM pattern?
Of course, no problem to do it in the View itself. But what about MVVM. Someone can give an example in a couple of lines of code How do I implement this. the fact is that on the Internet there are many descriptions of the MVVM pattern, all are limited to writing a calculator, I mean on one form. In principle, I also always write on the same form, but at the right time I substitute the control. emitting a transition to another form. I do not know whether it is right or not. but I feel so comfortable.