O'Reilly logo

Programming Windows®, Six Edition by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required