Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated live tile example

  • Loading branch information...
commit a24ac196029af07eb3bdffe2ff2024dde30ae0ef 1 parent 7bc01d2
@mikoskinen authored
View
2  WinRT-Live-Tile-Notification-Queue/Scenario1_Local_Updates/MainPage.xaml.cs
@@ -45,7 +45,7 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
var tilesSubtitle = DateTime.UtcNow.AddHours(i);
var myTile = Generator.Generate(tileTitle, tilesSubtitle);
- var notification = new TileNotification(myTile.ToXmlDoc()) { ExpirationTime = tilesSubtitle.AddMinutes(15) };
+ var notification = new TileNotification(myTile.ToXmlDoc()) { ExpirationTime = tilesSubtitle.AddMinutes(15), Tag = i.ToString()};
TileUpdateManager.CreateTileUpdaterForApplication().Update(notification);
}
Please sign in to comment.
Something went wrong with that request. Please try again.