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. Image for the cookie policy date

How to consume SymbolPaletteGroup , created in xmal by Symbol Designer

Hi,

I need to create a custom symbol palette group and then consume it in my application ; I have created one using 

http://help.syncfusion.com/ug/wpf/index.html#!documents/symboldesigner.htm

and i got one xmal file, but i am not able to find the process / code for consuing it my application ?

can you please help me with the code.

Best Regards',
Hemant Shrivastava 


2 Replies

HE hemant April 13, 2015 02:16 PM UTC

Hi,

I need to create a custom symbol palette group and then consume it in my application ; I have created one using 

http://help.syncfusion.com/ug/wpf/index.html#!documents/symboldesigner.htm

and i got one xaml file, but i am not able to find the process / code for consuming it into my application ?

can you please help me with the code how to consume a custom made symbol palette with code / xaml.  

Best Regards',
Hemant Shrivastava 


RA Ranjitha Amirthalingam Syncfusion Team April 14, 2015 11:33 AM UTC

Hi Hemant,

Thanks for using Syncfusion Products.

Please find the response to your queries as below

S.No

Query

Response

1

I need to create a custom symbol palette group and then consume it in my application ; I have created one using http://help.syncfusion.com/ug/wpf/index.html#!documents/symboldesigner.htm and as a output I got one xaml file, but I am not able to find the process / code for consuming it my application ?

Requirement: “Need to Load the Custom Symbols/Shapes into the SymbolPalette”

We have used the method LoadSymbolPaletteGroup () of DiagramControl to load the Custom Symbols into the SymbolPalette. We have provided Video and Code Snippet to represent this. Please refer to the Code Snippet and video from the following link:

Code Snippet:

private void loadbutton_Click(object sender, RoutedEventArgs e)

        {

            diagramControl.LoadSymbolPaletteGroup();

        }

Here, diagramControl is the instance of the DiagramControl.

Video link:
Video_Load.zip

2

 I should be able to drag drop one symbol n number of times.

Once when the symbol is added to the palette, that symbol can be dragged n number of times.

3

Each symbol (if repeated also have their unique id’s / instance associated with them).

We can use the Id or Tag property to find out uniqueness in this items.

4

I should be able to attach them via connector.

This can be achieved by using EnablleDrawingTools and DrawingMode property of Diagram View

For more details about Connector ,please visit our online help documentation link

Link:

http://help.syncfusion.com/ug/wpf/Documents/drawingtools.htm

5

I should be able to move them on dashboard.

We have provided Interactive Options (Resize, Rotate and Drag) for drag and drop the items.

Please let us know if you require further assistance on this

Regards,

Ranjitha A



Loader.
Live Chat Icon For mobile
Up arrow icon