Reputation: 439
I want to set lockscreen wallpaper in my WP7 application.
I tried this code , but it's not I want :
BitmapImage bMap = new BitmapImage(new Uri(tab[0], UriKind.RelativeOrAbsolute));
var imageBrush = new ImageBrush();
imageBrush.ImageSource = bMap;
app.RootFrame.Background = imageBrush;
I don't find anything on the internet, can you help me please ?
(Sorry for my english)
Upvotes: 2
Views: 552
Reputation: 84804
What you are describing is not possible in the current SDK. Setting the background of the root frame will only affect your application, not the home screen or lock screen of the phone.
Upvotes: 2