我有一個Windows Phone 7.1應用程序,我想包含一個寬廣的標誌性圖塊。我發現了一個叫MangoPollo庫:使用MangoPollo的Wide Tile Windows Phone 7.1
http://mangopollo.codeplex.com/
我找到這段代碼:
var tile = ShellTile.ActiveTiles.FirstOrDefault();
if (tile != null)
{
var tileData = new FlipTileData();
tileData.Title = "Start Debugging";
tileData.BackContent = "switch to windows phone, we've got candy";
tileData.BackgroundImage = new Uri("Assets/tileBackground.png", UriKind.Relative);
tileData.BackBackgroundImage = new Uri("Assets/tileBackBackground.png", UriKind.Relative);
tileData.WideBackContent = "switch to windows phone, we've got candy";
tileData.WideBackgroundImage = new Uri("Assets/wideTileBackground.png", UriKind.Relative);
tileData.WideBackBackgroundImage = new Uri("Assets/wideTileBackBackground.png", UriKind.Relative);
tile.Update(tileData);
}
的問題是沒有包括在Codeplex上的任何文件的項目,所以我不知道在哪裏插入這個代碼(即哪個函數)來將瓷磚大小從正常變爲寬。
看看這個[Windows Phone的開發博客](http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/01/22/windows-phone-7- 8-and-windows-phone-8-live-tile-light-up-for-windows-phone-os-7-1-apps.aspx) –