Pivot Anatomy

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


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

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

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