如何在Windows Phone 8上使用c#添加CycleTile互动程序?

如何在Windows Phone 8上使用c#添加CycleTile互动程序?,c#,windows-phone-8,C#,Windows Phone 8,我有以下代码用于在Windows Phone 8上添加互动程序,但无法显示互动程序 CycleTileData cycletile = new CycleTileData(); cycletile.Title = "Test"; cycletile.SmallBackgroundImage = new Uri(root.data[0].user.profile_picture,UriKind.RelativeOrAbsolute); 您需要使用将磁贴添加到开始屏幕。设置CycleImages

我有以下代码用于在Windows Phone 8上添加互动程序,但无法显示互动程序

CycleTileData cycletile = new CycleTileData();
cycletile.Title = "Test";
cycletile.SmallBackgroundImage = new Uri(root.data[0].user.profile_picture,UriKind.RelativeOrAbsolute); 

您需要使用将磁贴添加到开始屏幕。设置CycleImages属性也没有坏处

List<Uri> list = [your image list];
Uri smallImage = [your image];

CycleTileData tileData = new CycleTileData() 
{ 
    Title = group.Title, 
    SmallBackgroundImage = smallImage
    CycleImages = list 
 }; 

 ShellTile.Create(new Uri(NavSource, UriKind.Relative), tileData, true); 
List List=[您的图像列表];
Uri smallImage=[您的图像];
CycleTileData tileData=新CycleTileData()
{ 
Title=组。Title,
SmallBackgroundImage=smallImage
CycleImages=列表
}; 
Create(新Uri(NavSource,UriKind.Relative),tileData,true);
有很多样品放在桌子上