how can I adjust position of pasted element on diagram? Currently it's exactly in the same place as the copied element and it should be better to slightly move it to the right and down, so user will see the copy-paste action actually completed.
Any ideas?
Jakub
2 Answers, 1 is accepted
0
Dinko | Tech Support Engineer
Telerik team
answered on 29 May 2019, 10:50 AM
Hi Jakub,
To change the paste items position you can create a custom class which inherits RadDiagram and overrides its Paste() method. We have PasteOnMousePosition sample project in our GitHub repository which demonstrates a similar approach. In this SDK example, the paste items are position on mouse position. You can modify the approach to fit in your main application.
Hope this project will be useful for your case.
Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.