Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to stop a live tile from flipping

From Wiki
Jump to: navigation, search

This article explains how stop a FlipTile from flipping, by removing the back-content.

WP Metro Icon UI.png
SignpostIcon XAML 40.png
WP Metro Icon WP8.png
Article Metadata
Windows Phone 8
Created: mrlacey (14 Nov 2013)
Last edited: mrlacey (13 Jan 2014)


A FlipTile with any back-content will flip between the back and front at irregular intervals. The way to prevent the tile from flipping is to remove the back content of the tile - including the image.

Flip Tile Template

Unfortunately it isn't obvious how to do this - just setting the content to an empty string or null doesn't work.


To stop a tile from flipping you must clear it’s content, not just set it to an empty string.

Unfortunately the FlipTileData class doesn't provide a method or property to make this easy. Instead you must use an XML document that contains appropriate FlipTileDate template information.

var clearTileBackXml = new StringBuilder();
clearTileBackXml.Append("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
clearTileBackXml.Append("<wp:notification xmlns:wp=\"WPNotification\" version=\"2.0\">");
clearTileBackXml.Append("<wp:tile template=\"FlipTile\">");
clearTileBackXml.Append("<wp:WideBackBackgroundImage action=\"Clear\"></wp:WideBackBackgroundImage>");
clearTileBackXml.Append("<wp:WideBackContent action=\"Clear\"></wp:WideBackContent>");
clearTileBackXml.Append("<wp:BackBackgroundImage action=\"Clear\"></wp:BackBackgroundImage>");
clearTileBackXml.Append("<wp:BackContent action=\"Clear\"></wp:BackContent>");
clearTileBackXml.Append("<wp:BackTitle action=\"Clear\"></wp:BackTitle>");
var ftd = new FlipTileData(clearTileBackXml.ToString());

For secondary tiles (not needed for the primary tile) you also need to set the Tile ID in the XML and select the correct element from the ActiveTiles collection.

For more information and to see the full template (which can be useful if you want to update "front" content at the same time as clearing the back) go to MSDN.

Version Hint

Windows Phone: [[Category:Windows Phone]]
[[Category:Windows Phone 7.5]]
[[Category:Windows Phone 8]]

Nokia Asha: [[Category:Nokia Asha]]
[[Category:Nokia Asha Platform 1.0]]

Series 40: [[Category:Series 40]]
[[Category:Series 40 1st Edition]] [[Category:Series 40 2nd Edition]]
[[Category:Series 40 3rd Edition (initial release)]] [[Category:Series 40 3rd Edition FP1]] [[Category:Series 40 3rd Edition FP2]]
[[Category:Series 40 5th Edition (initial release)]] [[Category:Series 40 5th Edition FP1]]
[[Category:Series 40 6th Edition (initial release)]] [[Category:Series 40 6th Edition FP1]] [[Category:Series 40 Developer Platform 1.0]] [[Category:Series 40 Developer Platform 1.1]] [[Category:Series 40 Developer Platform 2.0]]

Symbian: [[Category:Symbian]]
[[Category:S60 1st Edition]] [[Category:S60 2nd Edition (initial release)]] [[Category:S60 2nd Edition FP1]] [[Category:S60 2nd Edition FP2]] [[Category:S60 2nd Edition FP3]]
[[Category:S60 3rd Edition (initial release)]] [[Category:S60 3rd Edition FP1]] [[Category:S60 3rd Edition FP2]]
[[Category:S60 5th Edition]]
[[Category:Symbian^3]] [[Category:Symbian Anna]] [[Category:Nokia Belle]]

This page was last modified on 13 January 2014, at 16:20.
190 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.