This is tricky.
I have a mainPage with tabs. Let's say they tabs go to page1, page2, page3, but in fact all three are identical except for (a) their title and (b) a parameter that is sent to the viewModel.
The "obvious" way is to have all three use the same XAML changing only the title, but that gives me the willies. The code-behind is clearly shareable, but the XAML doesn't seem to be.
Is there a way, under these conditions, to write one page of XAML and direct the tabs to that one page with a parameter indicating which was chosen?
Or perhaps there is a way from page2 to redirect to page1 with a parameter?