Reputation: 1015
I am wondering is it possible to detect primary app tile size (small or wide) within code using c#? I want to implement live tiles functionality and I need to know which size is the app tile to select appropriate tile template.
Upvotes: 1
Views: 798
Reputation: 15296
Please check MSDN documentataion of Guidelines and checklist for tiles and badges (Windows Store apps). You will see two important points.
So you have to request both type of tile images i.e. small and large
That's you also can't know whether live tile is turn on or off programmatically.
You can combine large and small tile XML schema in one single XML, check this stack overflow answer.
Upvotes: 3