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.
Up arrow icon