如何制作"引脚开始"用于设置(wifi,蓝牙等)

时间:2015-01-29 19:50:24

标签: c# windows-phone-8 bluetooth wifi tiles

如何制作"引脚启动"用于设置(wifi,蓝牙等)。 像这里:http://www.windowsphone.com/en-us/store/app/quick-settings/2a2cbaa7-6d75-420c-ae14-2339618da43e

编辑:

我有这段代码:

private void PinToStart_Click(object sender, EventArgs e)
        {

            StandardTileData NewTileData = new StandardTileData
            {
                BackgroundImage = new Uri("/Logo", UriKind.Relative),
                Title = AppResources.Social,
                Count = 0,
                BackTitle = "MyApp",
                BackContent = "",
                BackBackgroundImage = new Uri("/Logo.png", UriKind.Relative)
            };


            ShellTile.Create(new Uri("/MainPage.xaml", UriKind.Relative), NewTileData);
        }

需要在单击磁贴时显示配置Wifi

1 个答案:

答案 0 :(得分:0)

只需将uri路径更改为设置页面

即可

例如

 ShellTile.Create(new Uri("ms-settings-bluetooth:", UriKind.AbsoluteorRelative), NewTileData);