How to change wallpapers suitable for UWP?

Wallpaper customization is quite simple.

await Windows.System.UserProfile.UserProfilePersonalizationSettings.Current.TrySetWallpaperImageAsync(file);

But I can not understand how to set the wallpaper for "span", for example. Is this not possible for a UWP application?

+4
source share
1 answer

This is a new API from the Windows Universal 10 platform, and in this method there is only one parameter (StorageFile), you can refer to the UserProfilePersonalizationSettings class .

Until then, there is no way to set the wallpaper for win8.x application. As far as I know, there is no way to set the wallpaper as Span fit mode in the UWP software application.

Just by testing this method, it seems to set the default wallpaper to “Fill” by default.

, Windows.

+2

Source: https://habr.com/ru/post/1628426/


All Articles