How to organize switching these pages?

I read this this article. And I can not understand how it is organized switching pages? I see bind ViewModel to her, but replaced it View? And I'm going to do something similar, only in my MainWindow will not have the page switching buttons (don't fit in the interface). And bandit I will direct the content of the window. So the question is how sub-pages to switch this content? For example, somewhere in a nested (prebinding) page clicked and you need to change the content of the window. The only thing that comes to mind is to use a pattern of a messenger, for example, is excellent in mvvm light. But maybe there is some solution?

There is this line: Content="{Binding CurrentPage}", CurrentPage but the only one I found in the project's WizardBaseViewModel CurrentPage in the MainViewModel. The same can not be content to inditsa to the ViewModel and? The content needs to inditsa to what another DataTemplate-do I understand...
July 9th 19 at 14:01
1 answer
July 9th 19 at 14:03
And again zdrasvuite)

Using A DataTemplate.
ca7d023527ee48df99b38064468021cd.png

Depending on what happens in the data context will be used different controls.
Don't understand a line of the form: DataType="{x:Type ViewModel:LibraryViewModel}". What do they mean? I thought the DataType is something like TargetType in the style of... - Adrian.Bogisich commented on July 9th 19 at 14:06
It is easy Google, read, learn anything new) - buford_Hand41 commented on July 9th 19 at 14:09

Find more questions by tags WPFMVVMC#XAML