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.
Syncfusion Feedback

Drag Symbol and Drop into a Pallete

Thread ID:

Created:

Updated:

Platform:

Replies:

61849 Jun 4,2007 07:05 AM UTC Jun 6,2007 04:46 AM UTC Windows Forms 7
loading
Tags: Diagram
Meir Bezalel
Asked On June 4, 2007 07:05 AM UTC

Hello,
I'm a new developer using Syncfusion. What I'm looking for is a VB.net sample for drag and drop symbols from and to a symbol pallete.
I would like to let my users to pick a symbol from any palette, to change it somehow and add the updated symbol into the palette,as a new symbol, by drag and drop only.
I would appreciate any help.
Mayer

VS.net = Visual Studio 2005
Product: 5.1.0.51 (the last version)

Meera Fathima [Syncfusion]
Replied On June 4, 2007 09:35 AM UTC


Hello Mayer,

Thank you for your interest in Essential Diagram.

If your intension is to drag and drop the node from one palette to another palette, you can do this by setting the PaletteGroupView.AllowDragDrop property to true value.

Please let me know whether this is helpful to you. Also don't hesitate to contact us if you have any more questions regarding this. We will be glad to assist you.

Thanks,
Meera.

Meir Bezalel
Replied On June 5, 2007 09:18 AM UTC

Hi Meera,
Thanks for your answer regarding the drag&drop among the palettes.
What about drag&drop a symbol from diagram to a palette?
My user creates somehow a symbol and like visio, he/she wants to drag&drop it into an open palette.

Thanks,

Mayer

Meera Fathima [Syncfusion]
Replied On June 5, 2007 10:56 AM UTC


Hello Mayer,

Current version does not provide support for drag and drop nodes from the diagram to the palette. I have logged feature request on this. Though we will not be able to provide the exact turnaround time, we will do our best in implementing this feature soon.

However if your intension is to add the nodes that are present in the diagram to the palette, you can easily do this by using the PaletteGroupView.Palette.AppendChild() method. I have created a sample that shows how to do this. You can get the sample from the following link - http://websamples.syncfusion.com/samples/Diagram.Windows/F61849/main.htm

Sample Details :

1. Drag and drop node from one node to the diagram.

2. Select it and click the button to add the selected node to the corresponding/desired palette.

Please let me know whether the above details are helpful to you.

Thanks,
Meera.

Meir Bezalel
Replied On June 5, 2007 12:13 PM UTC

Hello Meera
The F6189 sample is in C#.
Do you have the F6189 sample in VB.net?
Thanks,
Mayer

Meera Fathima [Syncfusion]
Replied On June 5, 2007 12:35 PM UTC


Hello Mayer,

You can get the VB version of the sample from the following link - http://websamples.syncfusion.com/samples/Diagram.Windows/F61849_VB/main.htm

Thanks,
Meera.

Meir Bezalel
Replied On June 5, 2007 02:38 PM UTC

Hello Meera,
First of all, thanks for the VB sample, I'm sure it would help.
I'm apologize for asking again but I'm a new programmer in Syncfusion and I wnat to make sure I understand the following you wrote:
"Current version does not provide support for drag and drop nodes from the diagram to the palette."
Does it mean, for now it's impossible to write a code using the binary version?
If so, is it possible for me to change the Diagram view/model/controller source code (we purchased it as well)in order to enable this feature?

I'll appreciate your detailed answer and suggestions.

Mayer

Meera Fathima [Syncfusion]
Replied On June 6, 2007 04:46 AM UTC


Hello Mayer,

Please find my response below on your query.

"Current version does not provide support for drag and drop nodes from the diagram to the palette.
Does it mean, for now it's impossible to write a code using the binary version? "

I meant that at present Essential Diagram does not provide support for drag and drop nodes from diagram to palette. This feature is yet to be implemented.

If so, is it possible for me to change the Diagram view/model/controller source code (we purchased it as well)in order to enable this feature?"
I am afraid that it is difficult to achieve/implement this feature at the application level by customizing the necessary diagram classes since it may need source code level changes, new properties/methods to be added and etc.,

Please let me know if you need any more details.

Thanks,
Meera.

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.

Warning Icon 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.Close Icon

;