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.

Costumize Symbolpalette item

Thread ID:

Created:

Updated:

Platform:

Replies:

115427 Jan 16,2014 09:09 AM Jan 22,2014 12:03 AM WPF 3
loading
Tags: Diagram
Abdallah Rabah
Asked On January 16, 2014 09:09 AM

I am a new user of your tool Syncfusion , I was trying to reuse the flowchart- Decision symbol in new symbolpaletteGroup as customized  

So I defined a Node and I choosed  the shape as Flowchart-Decision  and assigned it to to   item.content and it did work but when I move the mouse pointer over the symbol to drag it  I get  the nullrefrenceException.

Thank you for your Help


Parthiban A [Syncfusion]
Replied On January 17, 2014 05:34 AM

Hi Abdallah,

We have analysed your query regarding customize symbol palette item null reference exception. We request to set IsHitTestVisible as false, once you set node as SymbolpaletteItem’s content. Kindly refer the below code snippet,

SymbolPaletteItem item=new SymbolPaletteItem();

              Node n = new Node()

              {

                Width = 50,

                Height = 50,

                Shape = Shapes.FlowChart_Data

              };

              item.Content = n;

              (item.Content as Node).IsHitTestVisible = false;

Please let us know, if you require further assist on this.


Regards,

Parthiban A.


Abdallah Rabah
Replied On January 21, 2014 06:57 AM

hi Parthiban,

Thank you again for your assistance and It did work as I wished

Best regards,
abdallah Rabah

Parthiban A [Syncfusion]
Replied On January 22, 2014 12:03 AM

Hi Abdallah,
Thanks for your update. Kinldy let us know, if you require any further assist on this.
Regards,
Parthiban 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.

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.

;