Windows 10 brings a number of improvements to tiles, like adaptive tile templates which make it easier to create unique and useful live tiles. There are also some changes in behaviors that previous Windows/WP 8.1 developers need to be aware of.
Badges are now displayed in the lower right on both Phone and Desktop, and all the badges from Desktop are supported on Phone
You can continue executing code after pinning a tile (pin multiple tiles, instantly send notification, etc)
New "nameAndLogo" value added (desktop only). Default has changed to "name" or "none" depending on the ShowName properties
Now supported for desktop (used to be phone only)
Adaptive tile templates
Adaptive tile templates are a new feature in Windows 10, allowing you to easily specify content on your tile notifications without being limited to the preset templates we previously provided in the "tile template catalog". You can still use those legacy templates from the catalog, but adaptive tile templates allow you to design your own tile notification content using a simple and flexible markup language that adapts to different densities.
Note: To learn more about using adaptive tile templates, please read our documentation.
The following is a quick example illustrating adaptive tile templates and the results they produce.
<tile> <visual> <binding template="TileMedium"> ... </binding> <binding template="TileWide"> <text hint-style="subtitle">Jennifer Parker</text> <text hint-style="captionSubtle">Photos from our trip</text> <text hint-style="captionSubtle">Check out these awesome photos I took while in New Zealand!</text> </binding> <binding template="TileLarge"> ... </binding> </visual> </tile>
Badges are now unified
In Windows 10, badges on live tiles are displayed in the same location, and they support the same badge glyphs on both phone and desktop (phone gained new glyphs that desktop always had).
Phone developers should take notice of this change. In Windows Phone 8.1, badges were displayed in the upper right corner. The new unified badge placement might be an issue for your existing phone app depending on how you designed your live tile.
Pinning secondary tiles
When requesting to pin a secondary tile, the request is now done without any user or system interaction, meaning your app can continue executing code after pinning a tile. This is a change from phone, which used to exit your app and bring the user to their Start screen.
This change means that you can...
- Pin multiple tiles at once
- Send a tile notification immediately after pinning
One new feature for tile branding has been added: the ability to display both the name and the corner logo while displaying a notification. However, this feature is desktop-specific. Mobile does not even support showing the corner logo at all, and will default to "name".
This special background task used to be phone-specific, but now it is supported on desktop too. XamlRenderingBackgroundTask allows you to render XAML trees as a bitmap from a background task, often to generate custom tiles. If adaptive can't achieve what you want on a tile, this is an option.