Chapter 12. Pages and Navigation

Most Windows 8 applications are built around instances of the Page class. This is certainly not a requirement, but it offers some conveniences such as the easy integration of application bars. Up until this chapter, I’ve been focusing on programs that have only one instance of a Page derivative called MainPage, but now is the time to explore programs that allow Web-like navigation among multiple Page derivatives.

Visual Studio has two project templates for applications with multiple pages called Grid App and Split App. These templates are built around the powerful ListView and GridView controls and use these controls with view models. These templates are also layout-aware, meaning that they respond to changes in ...

Get Programming Windows®, Six Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.