I have encountered regarding a problem with 'Copy' and 'Paste' events in a Diagram control. Actually, I need to capture Copy event to recognize selected objects for copying. But I cannot find any handle to capture it. At least, I tried to modify Pop-up menu (Operated by Mouse R click) and capture a mouse click event when a user clicks 'Copy' button in a pop-up menu. But both are not accomplished. I could not find any passage to get the Copy Event or Pop-up menu event.
I do not have enough experience as a Syncfusion user (about few weeks). I think there is a way that I did not find. I need you experts helps very much.
SKSwarnesh Krishna Kumar Syncfusion Team August 6, 2015 12:39 PM UTC
Hi Won, Thanks for using Syncfusion Products. We suggest you to disable the DefaultContextMenu and create a desired context menu in order to achieve your requirement. We have attached a sample for your reference. Here is the Code Snippet: //To disable the DefaultContextMenu this.diagram2.DefaultContextMenuEnabled = false;
//Creation of Context Menu System.Windows.Forms.ContextMenu cvp = new System.Windows.Forms.ContextMenu();