Label backcolor not going transparent
Asked Answered
C

1

3

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?

Caldarium answered 8/7, 2011 at 8:46 Comment(3)
Are you expecting that setting it transparent would have a see through effect ? well then that is not the caseAmu
someone else, I suppose, is set it to white.Stomy
you want to hide lable or want to change colour of label?Women
A
7

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

Antecedence answered 8/7, 2011 at 8:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.