Search code examples
c#wpf

Page vs Window in WPF?


What is the difference between a Page and a Window in WPF when you are adding a new file in the Solution Explorer?


Solution

  • Pages are intended for use in Navigation applications (usually with Back and Forward buttons, e.g. Internet Explorer). Pages must be hosted in a NavigationWindow or a Frame

    Windows are just normal WPF application Windows, but can host Pages via a Frame container