I would like to know how a we navigate between different in wpf using a single frame in MainWindow without using Navigation Window.
I am stuck with a problem:
I have a Login page("LoginView.xaml",which is the default page displayed inside the MainWindow frame on StartUp), using which the user shall enter the username and password.
Now, if the user is the Superuser, I want a page to be displayed that is specific to that user.
Similarly if the user is a NormalUser a different page has to be displayed.
Although, I have managed to display the Login page on startup within the MainWiondow frame, I couldn't displayed the page after Login.
I searched the internet but could not find a proper solution. Most of the solutions I saw were using Navigation Window (which I would like to avoid) and were web based applications.
I have been trying to fix this problem for the past two days, but still couldnt fix it. Since I am new to WPF, Can anyone suggest a solution to this problem?