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.

make pasted nodes be selected

Thread ID:

Created:

Updated:

Platform:

Replies:

79218 Jan 23,2009 03:22 PM Jan 26,2009 11:38 PM Windows Forms 1
loading
Tags: Diagram
Lan Mo
Asked On January 23, 2009 03:22 PM

Hi,
C#, DiagramControl.
When you select several nodes in diagram, then Copy and Paste them, by default, No nodes are selected after paste operation.

I want to make all newly pasted nodes be selected after paste operation, so that I can easily drag/drop these newly pasted nodes to move around.
How can I do it?



Thanks,


Lan

private void barItemEditCopy_Click(object sender, System.EventArgs e)
{
this.diagram.Copy();
}

private void barItemEditPaste_Click(object sender, System.EventArgs e)
{
this.diagram.Paste();
}


Ajeet M [Syncfusion]
Replied On January 26, 2009 11:38 PM

Hi Lan,

I was not able to reproduce this issue.

For your convenience I am attaching my sample file that demonstrates that on paste(), the pasted nodes are selected by default.

Let me know if this helps.

Happy coding!
- Ajeet




Diagram_WF_NodeCopyPaste_6b40db27.zip

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.

;