Search code examples
win-universal-appuwp-xaml

How to change background overlay of ContentDialog uwp


I am developing UWP Win10 App using VS2015. I am using ContenDialog to show a Modal Window / Popup. I need to change the Background Overlay color of ContentDialog. How to do this. There is no option/property even in the inner Style too.

I need to change the Overlay White Dim color to some other color like Blackish overlay/dim color etc...

See the pic.

enter image description here


Solution

  • I think you need custom use control to have more control over the background. The default ContenDialog provide very bare bone setup and has limitations to the number of buttons / contents.