When updating live tiles in Windows 8, I don’t know how to update the tile in both the “large” and “small” size at the same time.
I would like users who have my app pinned in small mode to know how many items that are available in my program for viewing, and users who have my app pinned in large mode have both that, and some sample item titles too.
However, no matter what I do, it seems that only one of the tile updates arrive. How can I deliver a tile update based on the size of my tile, so that people who have either the small or large one won’t be disappointed?
Content for both the square and wide tile format can (and should) be included in the XML defining each tile notification. Under the
visualelement, simply add twobindingelements: one using a wide tile template, and one using a square tile template.The NotificationsExtensions library (found in the MSDN tiles sample) provides an object model to easily manipulate the XML and combine square and wide tile content: