Vinderguy
Vinderguy

Reputation: 93

UWP - Theme based splash screen color

In my c# UWP app, I'd like to display a white splash screen for users with the light theme selected (in system settings) and back for users with the dark theme. However, in the Package.appxmanifest, BackgroundColor attribute does not support ThemeResource. It seems like it only accepts some predefined colors along with hex values. Is there any workaround?

Upvotes: 2

Views: 531

Answers (1)

Nico Zhu
Nico Zhu

Reputation: 32775

Theme based splash screen color

If you has not specified the app's splash background color in the capability. it will same as Windows color where in the system setting. Splash color does not support pure black and white.For more detail please refer this document.

Upvotes: 1

Related Questions