Problem
When adding a new file to the Solution Explorer, what is the difference between a Page and a Window in WPF?
Asked by HelloWorld1
Solution #1
Pages are designed to be used in navigation apps (usually with Back and Forward buttons, e.g. Internet Explorer). A NavigationWindow or a Frame must be used to host pages.
Windows are just regular WPF application windows, but they can host Pages through the use of a Frame container.
Answered by Jimmy
Solution #2
A Window is always displayed on its own, whereas a Page is designed to be displayed within a Frame or a NavigationWindow.
Answered by Henk Holterman
Solution #3
Page Control can be contained within Window Control, but not the other way around.
Using the NavigationWindow and Frame controls, you may use Page control within the Window control. Window is the root control that must be utilized as a container for additional controls (such as Button). Page is a control that can be embedded in other controls such as NavigationWindow or Frame. Like other controls, the page control has its own aim to achieve (e.g. Button). The purpose of this page is to construct browser-like applications. As a result, if you host Page in NavigationWindow, the navigation implementation is included. Pages are designed to be used in navigation apps (usually with Back and Forward buttons, e.g. Internet Explorer).
The Page class in WPF supports browser-style navigation within standalone applications. The user can build numerous pages and navigate between them while retaining data. There are a variety of options for moving from one page to the next.
Answered by Sanket Gawade
Post is based on https://stackoverflow.com/questions/5243910/page-vs-window-in-wpf