Take the 2-minute tour ×

I have some pages in the win8 application, most of which have a similar layout, I use Frame.Navigate to switch the pages. Just wonder if there is something like MasterPage in asp.net webform/mvc.

share|improve this question
add comment

1 Answer

Just create a page with the layout you want and then use templates to customize it for particular views. You could have one main view .xaml file and then create a resource dictionary file (for separation purposes) for each different way you use it.

Edit: I found someone who made a "Master Page" for wpf. See here. You could do something similar for metro.

share|improve this answer
Could you please show me a post or an example? I didn't understand how to use templates. –  Danny Chen Sep 22 '12 at 3:24
Templates are pretty basic to xaml. If you don't know that you should go back and learn the basics. In the mean time, I found someone who made a "Master Page" for Wpf. You could do something similar. –  mydogisbox Sep 22 '12 at 4:37
add comment

Your Answer


