WPF Diagram Databinding.

Hi guys,

I am working on a project which needs the databinding to the symbol,  which I need to drag the symbol on the SymbolPalette to the diagram and leave as it is, when click on one symbol, the property guid will show the binded data of this symbol. Is there anyone knows how to solve this?

5 Replies

NP Nagalakshmi P Syncfusion Team November 16, 2012 11:03 AM UTC

Hi Eric,

We have analyzed your query,binding the data to be grabbed from Database.we have created a sample  to meet your requirement, in that sample we have cleared default SymbolPalette Group and added one Custom SymbolPaletteGroup with 5 elements.  If you drag drop the element from the CustomGroup,  we are retrieving  some persons data from DataBase and assigning that content into 'CustomClass' then we are giving that CustomClass as content of dropped element. Now, we have provided that CustomClass [Dropped element Content] to property grid it will show all the properties of that Custom object.

For more inforamtion please refer the attached sample.

Please let us know if you require further assistance on this.

Regards,

Nagalakshmi P.



SymbolPaletteItemFromDB_42b5ef16.zip


SH shenghao.wu September 4, 2013 02:44 AM UTC

Hi, I want to see the example, but seems it's gone. Can you upload the example again


SC Sudhakar C Syncfusion Team September 10, 2013 07:09 PM UTC

Hi Shenghao,

We have attached the sample again which is updated in our previous update. Please download the sample.

Please let us know if you need further assistance on this.

Regards,

Sudhakar C



SymbolPaletteItemFromDB_d6106384.zip


MA Manou February 21, 2018 12:37 AM UTC

i agree with terms of service


KR Keerthivasan Ramamoorthy Syncfusion Team February 21, 2018 09:17 AM UTC

Hi Manou, 
 
Thanks. Please let us know if you need any technical assistance, we will be happy to help you. 
 
Regards, 
Keerthivasan R. 
 


Loader.
Up arrow icon