Hilighting A Node

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

1 Reply

RR Ramya R Syncfusion Team May 30, 2007 12:30 PM UTC

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.

Loader.
Up arrow icon