如何更改 ContentDialog uwp 的背景叠加 [英] How to change background overlay of ContentDialog uwp

查看:29
本文介绍了如何更改 ContentDialog uwp 的背景叠加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS2015 开发 UWP Win10 应用程序.我正在使用 ContenDialog 来显示模态窗口/弹出窗口.我需要更改 ContentDialog 的背景叠加颜色.这该怎么做.即使在内部样式中也没有选项/属性.

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.

我需要将 Overlay White Dim 颜色更改为其他颜色,例如 Blackish overlay/dim color 等...

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

看图.

推荐答案

我认为您需要自定义使用控件来更好地控制后台.默认的 ContenDialog 提供非常简单的设置,并且对按钮/内容的数量有限制.

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.

这篇关于如何更改 ContentDialog uwp 的背景叠加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆