I have a simple window with two buttons on bottom, when one button is clicked it change the view model of my main window, the name of the content button and the command.
I would like that when user click on the button change this with a loading user control i already have but i'm stacked, i don't know it's something i can implement with xaml or i need some code on my view model.
Any suggestions would be appreciated. Thanks.
ContentControl
+ datatemplates with usual binding to display it. The best appropriate solution require more details: what content is exactly you want to display, etc. – Sinatr