|115427||Jan 16,2014 02:09 PM UTC||Jan 22,2014 05:03 AM UTC||WPF||3|
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
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.
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.