In my WPF application, I have a parent window Main.xaml where i have a button. On click of button i want to open a new window ChildWindow.xaml through command (and not through click event in code behind)
when the child form open I want to disable the Main.xaml window so that user cannot click anything on it.
I need it through MVVM so creating ChildWindow instance in the viewmodel I am not looking for. Can anybody please help me out.
What I have tried:
I am able to acheive it through code behined but I am looking through using MVVM