1. Add Navigation assembly in the application and import the namespace for the assembly.
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
2. In this sample, you have to create 4 pages, Page1.xaml, Page2.xaml, Page3.xaml, Page4.xaml under the folder Views.
2. defiine the xaml code
3. write the code behind