WPF Reflections

Sep 24 2008   1:22PM GMT

Xbap – hosting in NavigationWindow

Mark Shurmer Profile: MarkWPF

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.

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: