WPF Diagram Databinding.
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?
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
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
- 5 Replies
- 6 Participants
-
EZ Eric Zhang
- Nov 14, 2012 07:59 AM UTC
- Feb 21, 2018 09:17 AM UTC