透明控制datgridView的单元格 [英] Transparent control over cells Of datgridView
本文介绍了透明控制datgridView的单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想知道如何对datagridview的其中一个单元格放置透明的彩色(浅色)控件?
我要特定于单元格,以便那些看到屏幕的人会注意到该单元格并了解该单元格的重要性.
我已经为单元着色了.现在我想对它进行透明控制.
谢谢
Lakshman
Hello,
I would like to know how to put a transparent colored(light colored) control over one of the cells of datagridview?
I want to make the Cell specific so that those who see the screen will notice the Cell and Understand some Importance of the Cell.
i Have already Colored the Cell.Now i just wanrt to Put a transparent Control over it.
Thanks
Lakshman
推荐答案
你好Lakshman,
尝试为DataGridView应用CSS样式以获得透明效果.
Hello Lakshman ,
Try applying CSS styles for DataGridView to get transparent effect.
.Transparent
{
background-color:cyan;
filter: alpha(opacity=50);
opacity: 0.5;
}
希望对您有所帮助.
Hope this may help you.
这篇关于透明控制datgridView的单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文