zirkelc
zirkelc

Reputation: 1713

Windows Phone 8 - display text on tile

I want to display text on a secondary tile, like Evernote. Currently, I use the FlipTileData because it supports text on the BackContent property. The problem with FlipTileData is, that I only need the back tile, not the front.

Is there a way to set content on the front or to create a tile which does not flip?

Upvotes: 0

Views: 1957

Answers (1)

Neil Turner
Neil Turner

Reputation: 2727

Yes, it's possible. You start by creating a standard tile, then render a set of UI elements (eg. TextBlock) to an image to get the desired look, then set it as the 'BackgroundImage' of the tile.

The following tutorial and previous answer should help...

http://wp.qmatteoq.com/how-to-create-cool-custom-tiles-in-a-windows-phone-application/

https://stackoverflow.com/a/9659172/247257

As the above links assume Windows Phone 7, you will need to adjust the tile sizes for Windows Phone 8 and cater for the new wide tile size.

Upvotes: 4

Related Questions