'WPF Usercontrol to usercontrol button binding

I'm trying to bind a usercontrol having a button to another usercontrol both displayed on the same window. I'm using it in a MVVM setting. Main window Usercontrol functionality:

xmlns:viewModel="clr-namespace:WPF_GUI_v2Core._2Measurement.ViewModel"
<Window.DataContext>
    <viewModel:MainViewModel />   
</Window.DataContext>
<ContentControl Content="{Binding CurrentView2}/>

A picture of the Usercontrol: Usercontrol Button By pressing 'Continue' I want to move to the next Usercontrol (that too being a child of CurrentView2)

The MVVM setting: From Status 1 to Status 2, as shown in: MVVM folder. The MainViewModel.cs does all the communication by connecting the Usercontrols to the mainwindow. (If you want more info on what is inside the MainViewModel.cs let me know) So I've been trying to bind the button with different commands to make this work:

                 xmlns:viewmodel="clr-namespace:WPF_GUI_v2Core._2Measurement.ViewModel" 
                 d:DataContext="{d:DesignInstance Type=viewmodel:MainViewModel}"` 
     <!--   Button Commands Xaml   -->        
                 DataContext="UserControl1"                                               
                 Command="{Binding Status2_CheckingGridViewCommand}"
                 CommandTarget="{Binding BindsDirectlyToSource=True, Mode=OneWay}">
            <Button.CommandParameter>
                <local:Status2_CheckingGrid />
            </Button.CommandParameter>                                
     <!-- C# -->
            DataContext = new ViewModel.MainViewModel();

But I'm lost. I can't seem to get this navigation to work. I heard something about converting and including Inotifyproperychanged to the user control, but I'm not experienced enough to implement this by myself yet. If you need any more information, please let me know. I don't want to put too much code here.

The error I get:

System.Windows.Data Error: 40 : BindingExpression path error: 'Status1_ReadyViewCommand' property not found on 'object' ''Status2_CheckingGridViewModel' (HashCode=16130451)'. BindingExpression:Path=Status1_ReadyViewCommand; DataItem='Status2_CheckingGridViewModel' (HashCode=16130451); target element is 'Button' (Name=''); target property is 'Command' (type 'ICommand')



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source