Label backcolor not going transparent

Shilpa picture Shilpa · Jul 8, 2011 · Viewed 14.5k times · Source

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?

Answer

Carmelo La Monica picture Carmelo La Monica · Jul 8, 2011

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