而不是使用 StandardTileData 使用 IconicTileData。这只有一个(正面)到瓷砖。
//Creating a iconic tile class
IconicTileData iconic = new IconicTileData()
{
Title = "iconic tile",
Count = 87,
WideContent1 = "Battery left 87%",
WideContent2 = "estimated time remainning",
WideContent3 = "21 hours 24 min",
SmallIconImage = new Uri("Images/Iconic.png", UriKind.Relative),
IconImage = new Uri("Images/Iconic.png", UriKind.Relative),
};
//Always provide a unique tile navigation uri to the each secondary tile that is pinned through the application
string tileuri = string.Concat("/MainPage.xaml?", "id=iconic");
if (tile == null)
{
//Creating a new secondary flip tile on start screen having the properties as provided by the Tiledata class
//and the navigation uri given by tileuri string member
ShellTile.Create(new Uri(tileuri, UriKind.Relative), iconic,true);
}
这是创建标志性瓷砖的方法。