Skip to content

Instantly share code, notes, and snippets.

@ceee
Last active January 30, 2016 11:57
Show Gist options
  • Save ceee/ef5f4fcc49caed786889 to your computer and use it in GitHub Desktop.
Save ceee/ef5f4fcc49caed786889 to your computer and use it in GitHub Desktop.
Live Tile Bug, Windows 10 (10586)
TileUpdater updater = TileUpdateManager.CreateTileUpdaterForApplication();
string xml = @"
<tile>
<visual>
<binding template='TileMedium' branding='none'>
<image placement='peek' src='http://placehold.it/400x400' />
<image hint-overlay='40' placement='background' src='http://placehold.it/300x300' />
<text hint-wrap='true'>Test test test</text>
</binding>
</visual>
</tile>
";
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
updater.Update(new TileNotification(doc));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment