半透明背景 [英] Translucent background
本文介绍了半透明背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您能帮我做一个半透明的表格吗?
Windows窗体或WPF
Can you help me with how to make a form translucent?
Windows Forms or WPF
推荐答案
Windows窗体
Windows Forms
Me.Opacity = 50
WPF
WPF
Me.AllowsTransparency=True
Me.Opacity = 0.5
me.Opacity =值``(例如50或30)
并在构造函数中编写此代码.
me.Opacity = Value ''(e.g. 50 or 30)
and write this code in your Constructor.
这篇关于半透明背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文