The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team April 5, 2006 01:42 PM UTC
Hello,
The Copy()/Paste() function on the diagram nodes can also be performed through the keyboard inputs. This is demonstrated in the Samples/ In Depth / DiagramBuilder sample.
Also you can catch the keyboard inputs on a diagram object by handling the Diagram.KeyUp(0 event handler.
Kindly refer the following sample code snippet that shows the code implementation.
private void diagram_KeyUp(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.C && e.Control)
this.diagram.Controller.Copy();
if(e.KeyCode == Keys.V && e.Control)
this.diagram.Controller.Paste();
}
Please let me know if you have any queries.
Thanks,
Meera.
JUJonathan UrbanApril 6, 2006 08:46 AM UTC
THX Fathima!!!
In fact, I did not know e.Control... :)