Configuring overlay background colour for ContentDialog

后端 未结 4 605
星月不相逢
星月不相逢 2020-12-17 06:49

I\'m writing an app for the universal windows platform using the dark theme and I\'ve noticed that although I\'ve correctly set the requested theme to dark when I display a

4条回答
  •  旧时难觅i
    2020-12-17 07:34

    I used the code for the accepted answer, but changing the color of this brush worked for me... "SystemControlPageBackgroundMediumAltMediumBrush" Maybe because i am using Anniversary Edition as I read here

    Also make sure your resource dictionary key matches the theme you are using. I was using the "Light" theme, so I changed the Resource dictionary x:key to this...

提交回复
热议问题