This project is read-only.

ModernFrame navigation BrowseBack

Sep 19, 2013 at 12:27 AM
Edited Sep 19, 2013 at 12:33 AM
Hello, sorry for bringing this up again :)
I'm gonna start with what I want:
  1. ListView with UserControls, each UserControl(StockItemView) has its own ModernFrame
  2. ListView.ContextMenu has a MenuItem that navigates the ModernFrame to my 1 step wizard
  3. that has a BackButton.
So far I've managed to get the first two points working. However the ModernFrame has no source, so nothing gets pushed to the history stack-> no BackButton :(
Here is what I've done:
                       <Productions:StockItemView DataContext="{Binding }" />
menuRequest_Click: (StockItemView.xaml.cs)
var frame = NavigationHelper.FindFrame(null, this);
// frame.Source==null
NavigationCommands.GoToPage.Execute("/Views/Batches/Requests/RequestWizardView.xaml", frame);
The wizard replaces correctly the the StockItemView, but no back capability.
Neither the StockItemViewModel or RequestWizardViewModel need to know anything about the navigation itself, so I'm ok with doing this using only xaml(NavigationCommands) or code behind.
Please help! :)