none
WPF Page vs WPF Window

    Question

  • 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

Answers

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.

     

    HTH,
    Drew

     

    Thursday, January 31, 2008 3:12 PM
    Moderator
  • 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

    VH

    Wednesday, June 13, 2012 8:03 PM