Change Background of WP7 Application if Theme is altered

后端 未结 5 580
清歌不尽
清歌不尽 2021-01-16 05:19

I need to change the Background Image of my Application if user changes theme from \"Light\" to \"Dark\" or vice-vesa in code behind. I hop

5条回答
  •  走了就别回头了
    2021-01-16 06:06

    For this no event exists. You need to figure this out manually by comparing the PhoneBackgroundBrush color to see if the user has the dark or light theme and compare it with your last stored value.

提交回复
热议问题