BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
SymbolItem s_item = new SymbolItem(); ... NodeViewModel node = new NodeViewModel() {...}; s_item.Symbol = node; ((SymbolCollection)stencil.SymbolSource).Add(s_item); |
S.no |
Query |
Response | |
1 |
Then after adding an item from the stencil to the sfdiagram I want to get information about s_item. How can I do this? |
We have a support to achieve your requirement by using ItemAdded event for SfDiagram. Please find the code example as below.
Code example:
| |
2 |
After adding the same item 2 time I want to use s_item not as reference but as separate object. Could you help me? |
We will clone the object when Drag and drop the object form Stencil to Diagram.
|
SymbolItem s_item = new SymbolItem(); item.Key = content; ... NodeViewModel node = new NodeViewModel() {...}; s_item.Symbol = node; ((SymbolCollection)stencil.SymbolSource).Add(s_item); |
Hi Alex,
Thanks for the update .
Please let us know if you need any further assistance.
Regards,
Keerthivasan R.