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

Hilighting A Node

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 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.

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

;