调整背景不透明度而不调整文本的不透明度 [英] Adjusting background opacity without adjusting the opacity of the text

查看:107
本文介绍了调整背景不透明度而不调整文本的不透明度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用在下面的帖子中作为答案发布的代码,我如何调整背景不透明度而不是文本的不透明度?非常感谢您的帮助。





https://social.msdn.microsoft.com/Forums/en-US/d1555e30-7a1d-4b15- 82e9-8068f8255ff6 / wpf-custom-drawing-markers?forum = wpf

Using the code which is posted as the answer on the thread below how could I adjust the background opacity but not the opacity of the text? Many thanks for any help.


https://social.msdn.microsoft.com/Forums/en-US/d1555e30-7a1d-4b15-82e9-8068f8255ff6/wpf-custom-drawing-markers?forum=wpf

推荐答案

由于这是一个WPF问题,因此您的帖子正在转移到WPF论坛,因为这不是特定的C#问题。
Since this is a WPF question your post is being moved to the WPF forum as this is not a specific C# question.


这篇关于调整背景不透明度而不调整文本的不透明度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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