问题
The title is the whole question: Is it possible to use tile templates with secondary tiles in a Windows Store App? Also can secondary tiles animate? It looks like the answer is no, even in Windows 8.1 but maybe I am just missing something. Here is a link to the Tile Template:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tiletemplatetype.aspx
Here is a link to the SecondaryTile class:
http://msdn.microsoft.com/library/windows/apps/br242183
It's weird because this seemed like an obvious oversight in Window 8 and they revamped secondary tiles a little bit in Windows 8.1.
回答1:
Live tile content (tile updates) can be sent to secondary tiles in much the same way that live tile content is sent to primary tiles. The secondary tile identifier needs to be specified when creating the TileUpdater (or the push notification channel, if using Windows Push Notifications).
TileUpdateManager.CreateTileUpdaterForSecondaryTile(secondaryTileId)
MSDN has a quickstart on sending tile updates which applies to both primary and secondary tiles.
This behavior is supported in both Windows 8 and Windows 8.1.
来源:https://stackoverflow.com/questions/18455363/is-it-possible-to-use-tile-templates-with-secondary-tiles-in-a-windows-store-app