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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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: