Hosting Multiple Application Bars with the Pivot
Particular PivotItems
within your Pivot
may require differing capabilities with separate sets of application bar menu items and buttons. The ability to associate a different application bar with each PivotItem
is not natively supported by the Windows Phone FCL. You can, however, achieve this by using the custom AppBar
control (discussed in Chapter 8, “Taming the Application Bar”).
This section looks at the relevant changes made to the AppBar
that have been made to support this capability, and then at an example of creating a page containing a Pivot
, whose items each contain an independent application bar that is swapped into place when the PivotItem
becomes active.
Code has been added to the
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.