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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.