Posted
on Dec 17, 2010
(permalink)
Hello,
I was trying to set a transparent background to a RadLabel. No matter which setting I try, I still have a solid background in that label, which is the default light blue colour (233; 240; 249).
Which is the magic key I have to turn?
Thank you for any help.
Roberto
Reply
Posted
on Dec 17, 2010
(permalink)
Hello Roberto,
Which version of the radControls are you using? In the latest version (2010 Q3 SP1) the RadLabel maches it's back colour to the back colour of the control it is on. So, a form with a back colour of control, and adding a RadLabel will automatically inherit the same back colour.
You should in any case be able to just change the BackColor property in the designer.
Hope that helps
Richard
Reply
Posted
on Dec 18, 2010
(permalink)
Hello Richard,
thank you for your reply.
I just upgraded from RadControls_WinForms_2010_3_10_1109 to RadControls_WinForms_2010_3_10_1215 but that did not solve my problem, if I dare to speak of a "problem".
I assumed that the background of the label would be transparent if I set the appropriate value to "transparent". But there is always a background color (namely the color of the parent control as you said).
To demonstrate my issue: I have two labels one above a TextBox and one above a DropDownList control. The labels overlap the TextBox and the DropDownList controls a little bit. As the DropDownList control is a bit higher the labels background is visible at the edge.
Is there any way to set a real transparent background?
I am confused....
Cheers Roberto
Reply
Posted
on Dec 18, 2010
(permalink)
Hi Roberto,
Ah, ok, I see your issue. Unfortunatly this won't be possible as far as I know. The RadLabel to my knowledge works in the same way as the MS one, and is transparent, but only to it's parent control
Regards
Richard
Reply
Posted
on Dec 20, 2010
(permalink)
hello Roberto,
Did this help? If so please remember to mark as answer
Thanks
Richard
Reply