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.

Hilighting A Node

Thread ID:

Created:

Updated:

Platform:

Replies:

61618 May 30,2007 02:51 AM May 30,2007 08:30 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Sumesh R
Asked On May 30, 2007 02:51 AM

HI All ,
Can any one tell me how to customize a "MyTextSymbol" node .My requirement is to higlight or change the color of the node of certain node. Please help me in this , i have tried a lot with all possible way i know. Thanks in advance andGOD bless

Ramya R [Syncfusion]
Replied On May 30, 2007 08:30 AM

Hi Sumesh,

Thank you for your interest in Syncfusion Products.

If your intention is to create a Custom Symbol then it can be done by customizing the GroupClass.

The color of nodes(like ellipse,rectangle etc..) can be changed using the code snippet shown below,

ellipse.FillStyle.Color = Color.Red;

The backcolor of textnode can be changed using the code snippet shown below,

textNode.BackgroundStyle.Color = Color.Yellow;

Kindly take a look at the attached sample.

In this sample, I have created a custom symbol by customizing the Group class and have also changed the color of nodes .

Sample:

http://www.syncfusion.com/Support/user/uploads/MySymbol_fc63aa2e.zip

Let me know whether this helps you.

Thanks & Regards,
Ramya.

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.

;