Hi Sumit,
We have created a sample for how to customize the copy, paste functions. You can inherit the diagram controller class and override the copy function in it. When perform copy in diagram the copy method will hit, in that method you can define your own logic. Please refer to the below code snippet for how to override copy method
public class CustomDiagramController: DiagramController
{
public CustomDiagramController():base()
{
}
public CustomDiagramController(Syncfusion.Windows.Forms.Diagram.View view) : base(view)
{
}
public override void Copy()
{
// Define your logic here
base.Copy();
}
} |
We have attached a sample for your reference. Please find the sample in below link
Regards
Aravind Ravi