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

TextNodes Background Color

How can I change the background color of a TextNode?



Thanks,
Bryan


1 Reply

AD Administrator Syncfusion Team November 4, 2008 12:32 PM UTC

Hi Bryan,

To change the TextNode's Background Color, do the following:

*****
TextNode t_node = new TextNode("ABC");

t_node.BackgroundStyle.Color = Color.Red;

This will change the Background Color of the TextNode to "Red".

I am sure this will resolve your query, feel free to update me if otherwise, Thanks!

Regards,
Ajeet


Loader.
Live Chat Icon For mobile
Up arrow icon