循环磁贴模板 Windows Phone 8.1

Cyclic tile template Windows Phone 8.1

我正在尝试使用此代码创建循环磁贴模板

TileUpdateManager.CreateTileUpdaterForApplication().EnableNotificationQueue(true);

var tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileSquare150x150Image);

var tileImage = tileXml.GetElementsByTagName(“image”)[0] as XmlElement;
tileImage.SetAttribute(“src”, “ms-appx:///Assets/image1.jpg”);
var tileNotification = new TileNotification(tileXml);
TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);

tileImage.SetAttribute(“src”, “ms-appx:///Assets/image2.jpg”);
tileNotification = new TileNotification(tileXml);
tileNotification.Tag = “myTag”;
TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);

但瓷砖不是循环的,它们只是翻转。如何让上面的代码充当循环瓦片??

Cycle Tile 模板很旧 - 对于 Windows Phone 8 或 Windows Phone 8.1 Silverlight。您可以阅读有关它们的信息 here. For Windows Phone 8.1 RT you can only use the new templates like TileSquare150x150Image that are all listed here。遗憾的是,新的 'Ken Burns' 效果不如 Cycle Tile 模板。