We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Transparency in gradient label

Does the gradient label control can manage System.Color.Tranparent???

Since I use this color an warning message appears.

---------------------
The object with the type "Syncfusion.Drawing.BrushInfo" can not Be converted in the type Syncfusion.Drawing.BrushInfo.
---------------------
The Designer auto-generated code is this :

this.gradientLabel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.PatternStyle.None,System.Drawing.Color.Transparent,System.Drawing.Color.Transparent);

I just want a Transparent-backcolored label.
Please you to help me.

5 Replies

MJ Mano J Syncfusion Team October 22, 2009 11:40 AM UTC

Hi David,

Gradient Label indeed supports transparency, since it is derived from Label control.

We have checked by setting transparent color to the gradient label and its works for us. We tested it in 7.3.0.20.

Could you please let us know your Essential Studio version?

Regards,
Mano


DG david gaba October 22, 2009 03:30 PM UTC

7.1.0.30


MJ Mano J Syncfusion Team October 23, 2009 11:51 AM UTC

Hi David,

I don't see any problem setting transparent color in 7.1.0.30 also.

If you still see the problem, can you try using AutoLabel control of Syncfusion?

Regards,
Mano


DG david gaba October 23, 2009 12:13 PM UTC

Ok I will try this control and report to you in case of

Regards,


MJ Mano J Syncfusion Team October 27, 2009 09:37 AM UTC

Hi David,

Thanks for the update.

Regards,
Mano

Loader.
Live Chat Icon For mobile
Up arrow icon