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 and Panorama Placement in the FCL

Pivot and Panorama controls reside in the Microsoft.Phone.Controls assembly. Both the Pivot and the Panorama inherit from the TemplatedItemsControl (see Figure 11.1). The TemplatedItemsControl’s generic type parameter is specified as either a PivotItem for the Pivot class or a PanoramaItem by Panorama class.

Image

FIGURE 11.1 Pivot and Panorama inherit from TemplatedItemsControl.

The main role of the TemplatedItemsControl is the implicit creation of PivotItems and PanoramaItems when using the superclass ItemsControl.ItemsSource property to populate a Pivot or Panorama.

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