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

How to consume SymbolPaletteGroup , created in xmal by Symbol Designer

Thread ID:

Created:

Updated:

Platform:

Replies:

118825 Apr 13,2015 02:14 PM UTC Apr 14,2015 11:33 AM UTC WPF 2
loading
Tags: Diagram
hemant
Asked On April 13, 2015 02:14 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 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 


hemant
Replied On 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 

Ranjitha Amirthalingam [Syncfusion]
Replied On 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



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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;