1
我想在我的應用程序中使用「Pin啓動」功能。我並不想創建一個次平鋪如下面的代碼:從Windows手機應用程序中的代碼開始銷售
StandardTileData NewTileData = new StandardTileData
{
BackgroundImage = new Uri("Red.jpg", UriKind.Relative),
Title = "Secondary Tile",
Count = 12,
BackTitle = "Back of Tile",
BackContent = "Welcome to the back of the Tile",
BackBackgroundImage = new Uri("Blue.jpg", UriKind.Relative)
};
// Create the tile and pin it to Start. This will cause a navigation to Start and a deactivation of our application.
ShellTile.Create(new Uri("/SecondaryTile.xaml?DefaultTitle=FromTile", UriKind.Relative), NewTileData);
而且,我不想當圖標固定到開始屏幕上的應用程序退出。