WPF Reflections

Sep 29 2008   4:22PM GMT

Xbap – how to show them



Posted by: MarkWPF
WPF, XAML, Xbap

With a standard WPF application, you don’t really have many options as to how you display the application – it has a top level window and that’s it.

With a WPF application, you have four options on how to display your top level page in a container:

  1. Using a NavigationWindow – which gives you functionality akin to a normal WPF Window
  2. U1sing a Frame directly inside the browser, also called an Xbap or browser application
  3. Using a Frame inside another window
  4. Using a Frame inside another page

These all have slightly different advantages, and I have done a description for each:

  1. Hosting in NavigationWindow.
  2. Hosting a frame directly inside the browser
  3. Hosting a frame inside a window
  4. Hosting a frame nested inside another frame

Comment on this Post

Leave a comment: