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.
Unfortunately, activation email could not send to your email. Please try again.

TextNodes Background Color

Thread ID:

Created:

Updated:

Platform:

Replies:

77314 Oct 24,2008 11:57 AM Nov 4,2008 07:32 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Bryan Barnard
Asked On October 24, 2008 11:57 AM

How can I change the background color of a TextNode?



Thanks,
Bryan


Administrator [Syncfusion]
Replied On November 4, 2008 07:32 AM

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.

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.

;