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. Image for the cookie policy date
close icon

Label to be displayed on shape in Symbol Palette

How to add Label to the Shape in Symbol Palette when shapes are loaded in application.
Also when same shape is drag on canvas multiple time then the Shape Name should be prefixed by incremental numeric value.



3 Replies

RA Ranjitha Amirthalingam Syncfusion Team November 12, 2015 11:14 AM UTC

Hi Ashish,

Thanks for contacting Syncfusion Support.

We have achieved your requirement “Need to set label to the Dropped shape”. When a Node is dragged and dropped from SymbolPalette, DiagramView’s NodeDrop event will be fired. Similarly for LineConnector, ConnectorDrop event will be fired. We have provided sample to represent this. Please refer to the sample from the following link.


Sample Link: 121090

Sample Details:


We have incremented the label value, if same shape is dropped from the SymbolPalette to the Diagram. We have provided screenshot to represent this. Please refer to the below screenshot.



Screenshot:






Regards,
Ranjitha A.






AS ashish November 13, 2015 06:26 AM UTC

Hi Ranjitha,

The solution provided by you is some what close to our requirement. But we need the below requirement as attached in file.
Also the attached sample provided on link 121090 is neither opening in VS 2013 nor in VS 2015.


Thanks,
Ashish Nandavadekar


Attachment: Requirement_6db1852d.zip


RT Ramya Thirugnanam Syncfusion Team November 16, 2015 12:13 PM UTC

Hi Ashish,
Please find the responses to your queries as below.

S.No

Query

Response

1.

The solution provided by you is somewhat close to our requirement. But we need the below requirement as attached in file.

We have analyzed the provided screenshot. We have modified the sample to achieve your requirement. Please refer to the Sample from the following link.


Sample Link:121090


Label for SymbolPaletteitem:

This can be achieved by iteratively modifying the Content of SymbolPaletteIitem.


Label to Bottom of Node:

We have provided Label Displacement support for Node to have this requirement.

2.

Also the attached sample provided on link 121090 is neither opening in VS 2013 nor in VS 2015.

We have modified the sample to achieve your requirement. Please refer to the above sample.


Regards,
Ramya T

Loader.
Live Chat Icon For mobile
Up arrow icon