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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TextNodes Background Color

Thread ID:

Created:

Updated:

Platform:

Replies:

77314 Oct 24,2008 03:57 PM UTC Nov 4,2008 12:32 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Bryan Barnard
Asked On October 24, 2008 03:57 PM UTC

How can I change the background color of a TextNode?



Thanks,
Bryan


Administrator [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;