C# 如何冻结次瓷砖WP8.0
我正在尝试创建一个辅助磁贴,但我只想显示磁贴背面的内容。这在针对WP8.0设备时是否可行C# 如何冻结次瓷砖WP8.0,c#,windows-phone-8,windows-phone,secondary-live-tile,C#,Windows Phone 8,Windows Phone,Secondary Live Tile,我正在尝试创建一个辅助磁贴,但我只想显示磁贴背面的内容。这在针对WP8.0设备时是否可行 private void MenuItem0_Click(object sender, EventArgs e) { StandardTileData standardTileData = new StandardTileData(); standardTileData.BackTitle = "AppTitle0"; standardTile
private void MenuItem0_Click(object sender, EventArgs e)
{
StandardTileData standardTileData = new StandardTileData();
standardTileData.BackTitle = "AppTitle0";
standardTileData.BackContent = "AppTitle1";
standardTileData.BackBackgroundImage = new Uri("/Assets/red_background.png", UriKind.Relative);
}
不要使用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);
}
这是如何创建一个标志性的瓷砖 我不想使用宽平铺来显示我的信息。我想用一块中等大小的瓷砖。