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

custom symbol derived for Node

Thread ID:

Created:

Updated:

Platform:

Replies:

118364 Mar 3,2015 06:07 AM UTC Mar 5,2015 09:57 AM UTC Windows Forms 3
loading
Tags: Diagram
Prem Anand Joseph
Asked On March 3, 2015 06:07 AM UTC

Hello,

Could you kindly point me to sample code where Custom Symbol is derived from Node?

Most of the samples derive custom symbol from "Group" class.

Thanks & Regards
Prem



Naganathan Ganesh Babu [Syncfusion]
Replied On March 4, 2015 05:24 PM UTC

Hi Prem,

Thanks for using Syncfusion product.

We glad to inform we have achieved your requirement for custom symbol derived from Node. Please find the attached in below link.

Here is the sample:

Sample

Please let me know if you have any concern.

Regards,

Naganathan K G



Prem Anand Joseph
Replied On March 4, 2015 11:14 PM UTC

Hello Naganathan,

Thank you very much for the sample.

But I am getting following compile time error,
1>C:\Users\PremAnand\Downloads\WindowsFormsApplication1512649304\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs(25,14,25,32): error CS0039: Cannot convert type 'WindowsFormsApplication1.MySymbol' to 'Syncfusion.Windows.Forms.Diagram.FilledPath' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion

Thanks & Regards
Prem

Naganathan Ganesh Babu [Syncfusion]
Replied On March 5, 2015 09:57 AM UTC

Hi Prem,

Sorry for the inconvenience caused.

we are glad to inform you that we have attached the working sample and the same can be downloaded from below link.

We suggest you to inherit diagram's "FilledPath" to achieve your requirement, which is used to apply fill color related properties to the shape and it is also inherited from diagram's "Node" class. Please refer the attached sample in below link.

Here is the Sample:

Sample

Please let us know if any concern.

Regards,

Naganathan K G

 



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

;