Question

How do share some general layout and content on all my pages in windows store apps?

Can one define a kind of "masterpage"?

Was it helpful?

Solution

Since you mentioned master page equivalent approach, I found a link and just wanted to share. Hope this would give better idea on this.

http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/3e447ad7-04a0-4e9a-bc57-6b43f78217d1/

OTHER TIPS

In a basic sense you define a model that you use to display data. You pass an instance of this model to each page. The controls on each page a re data bound to the model context. So you setup a template of sorts for that data and link that to the controls. its called MVVM. MVVM stands for Model - View - ViewModel. Here are a couple good examples:

http://www.codeproject.com/Articles/391783/An-Address-Book-Application-Made-in-MVVM-For-Metro

Navigation design for Windows Store apps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top