tavier
tavier

Reputation: 1794

Changing the Overlay background color for ContentDialog

For my UWP app, I want to override the default theme of the background color of the screen around the content dialog when it opens. I tried doing what's mentioned in this answer but it didn't work for me: https://stackoverflow.com/a/32159659/2858235

My OS build # is 10586. I read somewhere that this solution is no more working for builds equal and above 10586. Is there any solution?

Upvotes: 0

Views: 1447

Answers (1)

Decade Moon
Decade Moon

Reputation: 34306

For me, my SDK version is 14393 (Anniversary) and the SolidColorBrush resource to override is SystemControlPageBackgroundMediumAltMediumBrush (that's a mouthful!).

Upvotes: 1

Related Questions