How to change background overlay of ContentDialog uwp

守給你的承諾、 提交于 2019-12-04 02:21:48

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/36451389/how-to-change-background-overlay-of-contentdialog-uwp

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