I am trying to find a good example using NavigationServices and pages that will handle this simple scenario. Please keep in mind this is for a pure WPF desktop application. I am trying to create an app with 8 potential pages (4 main pages and 4 sub-pages).
Main Pages: (Hardware | Configure | Transfer | Extract)
Configure Sub Pages: (Configure 1 | Configure 2 | Configure 3 | Configure 4)
All 8 pages should be in a Frame of my MainWindow and will can be represented by RadioButtons, a ListBox, or whatever would make the navigation easy. Clicking the RadioButton or selecting an item in the ListBox should load the respective page in the frame
and update the navagation service so when I select "Back" or "Next" it is processed correctly. Here is how I would expect things to work. Lets say Transfer is the current page loaded in the frame. If I hit the Hardware RadioButton, the
Hardware page should be loaded into the frame, the Hardware RadioButton checked (Transfer unchecked). The Transfer page should then be placed on the NavigationServices Back stack.
This seems like it should be very simple but I cannot find a good concise example. Also, I am familiar with RoutedCommands and CommandBinding and know this type of navigation can be done with commands tied to all of the RadioButtons. However, I want to incorporate
the NavigationServices to get the next/back stack
View Complete Post