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.
Unfortunately, activation email could not send to your email. Please try again.

Label to be displayed on shape in Symbol Palette

Thread ID:

Created:

Updated:

Platform:

Replies:

121090 Nov 10,2015 02:28 AM Nov 16,2015 07:13 AM WPF 3
loading
Tags: Diagram
ashish
Asked On November 10, 2015 02:28 AM

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.



Ranjitha Amirthalingam [Syncfusion]
Replied On November 12, 2015 06:14 AM

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.





ashish
Replied On November 13, 2015 01:26 AM

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

Ramya Thirugnanam [Syncfusion]
Replied On November 16, 2015 07:13 AM

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

CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;