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

Custom Symbol palette

Thread ID:





109947 Jul 12,2013 05:56 AM UTC Jul 15,2013 05:27 AM UTC ASP.NET MVC (Classic) 1
Tags: Diagram
Myra Ata
Asked On July 12, 2013 05:56 AM UTC

        I want to create custom symbol palette containing custom shape so that I can use it like your defined symbol palette.How can I do that? How can I save custom symbol palette in xml format.



Senthil Kumar M [Syncfusion]
Replied On July 15, 2013 05:27 AM UTC

Hi Maira,


Thanks for using syncfusion products.


We suggest you to create an new instance of “Palette” class and use the palette’s “AppendChild” method to add the any type of Nodes and Connectors. Also you can use the Palette’s “Save” method to save the palette in xml format.

Please refer the below code snippet.



//create an new instance of Palette.

Palette customShape = new Palette("Custom Shapes");


//create an new instance of a node.

Node node1 = new Node();

// set the node shape

node1.Shape = Shapes.Path;

//set the custom path data

node1.PathData = "M -1165.85 707.454 L -1165.85 349.454 L -836.855 349.454"; //this is an example data


//append the node to palette.



//save the palette to xml file.



We have created the simple sample to achieve your requirement and the same can be downloaded from the below link.



Please let us know if any concerns.





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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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