Posted by: MarkWPF
WPF, XAML, Xbap
To hosting your page in a NavigationWindow, what do you need to do?
Well, not a lot actually.
You write your page, set your app.xaml’s startup uri to point to your page and run it!
It will appear in a browser if you created a browser application, or inside a NavigationWindow if it is a WPF application.
The WPF application will create a NavigationWindow instead of a Window to act as the top level container.
It also uses the page’s WindowTitle property for the caption in the NavigationWindow
The NavigationWindow class derives from Window and adds the navigation buttons and the navigation service for you.