Is there anyway I can set an UltraLabel as transparent? i.e. over a gradient background?
I think it should be some way to achieve this because in "My Finances" app from Samples in Net Advantages 2010.1 in the UltraGridRowEditTemplate the labels seems to be transparent in the gradient background.
Hi Jamie,
No, this will not work. It's nothing to do with UltraLabel. The way transparency is implemented in the DotNet Framework is that the control will ask it's parent control to paint before painting itself. If any control is simply positioned on top of another control (as opposed to actually being contained by that control), then the transparency will not work.
Should this methodology work if the UltraLable is positioned over an UltraPictureBox?
I tried the code above, (or the VB.NET equivalent) and I'm not getting the affect I want, Is there something more that needs to be done?
Thanks,
Hello,
Could you please try the followin code lines:
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); appearance1.BackColorAlpha = Infragistics.Win.Alpha.Transparent; this.ultraLabel1.Appearance = appearance1;
Please feel free to let me know if I misunderstood you or if you have any other questions.