Custom colors need different top color for Blend effect. (How to stop the forced shading from white)

Good day,

I am using the super tooltip in an application which uses custom colors.
As such i am overriding all the colors and almost everything works fine except for one problem.

The main box of the Super Tooltip shades from White to the chosen BackColor.
How can I either overwrite the top White or disable the shading effect as i have cases where the ForeColor will be White.

In the screenshot below I colored the Header and Body as Black but it supposed to be white but will then be invisible.


Code to shade the SuperToolTip:


Regards,
James

2 Replies

JR James Roodt January 2, 2018 01:17 PM UTC

I solved this. Everything is working now.
I completely overlooked the GradientBackground setting.

superToolTip.GradientBackGround = false;


VR Vijayalakshmi Roopkumar Syncfusion Team January 3, 2018 04:21 AM UTC

Hi James

Thank you for the update.

We are glad to hear the reported problem has been resolved at your end.

Please let us know if you need any further assistance on this.

Regards,
Vijayalakshmi V.R.

Loader.
Up arrow icon