-->

Label backcolor not going transparent

2020-04-11 11:37发布

问题:

I've set a label's BackColor property to 'Transparent' in windows form but its just White? It's not going transparent?

Anyone know why this is happening?

回答1:

The label does not support transparency, you must create your own unique custom control, you can see these code examples.

http://www.codeproject.com/KB/dotnet/transparent_controls_net.aspx http://www.codeproject.com/KB/vb/uLabelX.aspx