I've started a WPF (web-based) application and it has multiple pages. I want to implement the concept of a Master page in WPF, so that when I make changes in the design/layout of one page then all the others pages will follow suit without all the copy and paste.
I don't think the concept of Master Page is valid in WPF basically because there are no pages. In WPF exists styles, templates and DataTemplates. Not only that, using the DockPanel and other containers you can achieve most of the functionality provided by ASP.NET Master Pages.
In any case, if you still the need of the master pages, I suggest check this article: http://www.codeproject.com/KB/WPF/WPFMasterPageControl.aspx
HTH
The WPF Magellan Framework (open source) have Master pages (and other several interesting concepts)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With