Sample Code

The sample code for this section is located in the ApplicationBarView and ApplicationBarViewModel classes in the downloadable sample code. This sample presents a simple interface for demonstrating various application bar properties. The following is a list of items demonstrated in the sample:

Image Data binding AppBar menu items and buttons to viewmodel commands

Image Modifying the foreground, background, and opacity of the application bar via data binding

Using a toggle button within the AppBar to modify the ApplicationBarIconButton’s icon, text, ...

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.