Tile Templates
Your live tile cannot contain arbitrary XAML (or HTML). Its appearance is tightly controlled by an XML template. With such a template, you choose one of several predefined layouts and, depending on the choice, you can specify a few lines of text and a few images. Although this means your customization possibilities are limited, it also means that it’s easy to give your app a live tile with a standard look-and-feel, including animations.
For example, Listing 24.1 contains a method that can be invoked at any time to update an app’s tile with hard-coded content. The call to CreateTileUpdaterForApplication returns a TileUpdater instance that exposes a variety of interesting behaviors. For now, this listing just calls its Update method ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access