简体   繁体   中英

Checking for normal or wide tile on windows 8 live tile

I'm creating a live tile in a windows 8 C# XAML app. I've worked out that I need to use the TileUpdateManager class to get the tile template. I can also see that there are different templates for a normal tile (150x150) and the wide tile (310x150). So, how can I detect whether the user has chosen to display the normal tile or a wide tile in C# code so that I can get the relevant template?

The better approach is to supply both and the OS will work it out.

Here is a good document that outlines how to do this: http://blogs.msdn.com/b/windowsappdev/archive/2012/04/16/creating-a-great-tile-experience-part-1.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM