Is it possible to change SplashScreen background at runtime - or to change color visible when user resize app window?

做~自己de王妃 提交于 2019-12-11 05:49:57

问题


On Package.Appmanifest we can define SplashScreen background color that is used for:

1) SplashScreen background - pretty obvious

2) to fit the space between new window border and not (yet) resized content when user is resizing the app window

If you don't know what I am writing about under 2) - just run Xbox app (or any other written with UWP), grab window border and then quickly move the window border back and forward.

The problem is that I would like to have two separate colors for that. Color A for SplashScreen background and Color B that would be visible during this resize. Apparently they are the same colors by default.

Is there any way to declare different colors for this two places within the app or any way to change the SplashScreen background color at runtime (to have the Color A during launch time and then after app has already lunched I could override this color with Color B to get the behaviour I need)?

来源:https://stackoverflow.com/questions/40978006/is-it-possible-to-change-splashscreen-background-at-runtime-or-to-change-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!