O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

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

Pivot Anatomy

The Pivot is composed of two distinct sections: a header list and a PivotItem presenter (see Figure 11.4).

Image

FIGURE 11.4 Anatomy of the Pivot.

The Pivot headers are displayed using a PivotHeadersControl. The active PivotItem has its header highlighted. Inactive PivotItems have their headers displayed until the headers exceed the width of the control. If there are too few headers to take up the full width of the control, the headers do not loop, and each header is displayed only once.

PivotItems are displayed using an ItemsPresenter. PivotItem is a ContentControl playing host to a single item of content. A ContentPresenter is used ...

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