WPF Page vs WPF Window


  • I am trying to understand difference between WPF Page and WPF Window..? Appears I can place same controls on both. Is WPF Page used for browser-hosted WPF applications and Window for Desktop-based applications? thx
    Thursday, January 31, 2008 1:47 PM


All replies

  • Pages can be used for XAML Browser Applications, you can also load them into your own application using the Frame control, or you can use a NavigationWindow and create the equivalent of a browser like application.




    Thursday, January 31, 2008 3:12 PM
  • Does it mean that for creating window based application we need to use Window and for Web application we need to use Page?
    Mohit Jethva
    Wednesday, June 08, 2011 6:20 AM
  • Yes, For Windows Applications you can use Window.xaml and for web pages you can use Page.xaml


    Wednesday, June 13, 2012 8:03 PM