Chapter 13. View states

 

This chapter covers

  • View states
  • The LayoutAwarePage
  • Supporting the Snapped state
  • Using Visual State Manager

If you’re reading this near a desktop or laptop computer, take a look at your display. Do you have multiple overlapping windows? Do you have documents or other work side by side? I have two 30” displays on my primary PC, and I keep a ton of stuff open during the normal course of work, but rarely can I say I’m equally focused on two things at once. The closest I get is when writing these chapters, when I bounce back and forth between a remote desktop session to a Win8 tablet on one display to the Word document (and Photoshop, MSPaint, and PowerPoint) in the main display.

13.1. Full, filled, and snapped views

13.2. The LayoutAwarePage

13.3. The snapped view for the main page

13.4. Visual states for view management

13.5. Detail pages and app bars

13.6. Summary