Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP - Secondary tile sizes

I'm working on a new W10 UWP app, and ran into a small issue.

I'm generating tiles with a separate Tile service - it creates secondary tiles, and updates them when required (and also updates the primary tile).

However, for some reason, even though the Wide and Medium templates are used, the sizes the tile offers when right-clicked are just "Small", and "Medium".

I found no reference on how to enable Wide and Large tile options. Does anyone know?

like image 666
fonix232 Avatar asked Dec 09 '25 18:12

fonix232


1 Answers

Okay, so the solution is simple...

It's not enough to add the Live Tile templates, you have to manually specify the sizes by adding the proper graphics Uris to the SecondaryTile instance. So if you want a wide tile to be available, assign a value to

tile.VisualElements.Wide310x150Logo

and so on, before calling

await tile.RequestCreateAsync()
like image 72
fonix232 Avatar answered Dec 11 '25 13:12

fonix232



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!