我想在我的WP7应用程序中设置锁屏壁纸。
我尝试了这段代码,但这不是我想要的:
BitmapImage bMap = new BitmapImage(new Uri(tab[0], UriKind.RelativeOrAbsolute));
var imageBrush = new ImageBrush();
imageBrush.ImageSource = bMap;
app.RootFrame.Background = imageBrush;
我在互联网上找不到任何东西,你能帮帮我吗?
(对不起我的英文)
答案 0 :(得分:2)
您在当前的SDK中无法描述的内容。设置根框架的背景只会影响您的应用程序,而不会影响手机的主屏幕或锁定屏幕。