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.
MAMaria Amal Raj T Syncfusion Team February 24, 2011 05:34 AM UTC
Hi,
Thanks for your interest in Syncfusion Products.
When a Node is dragged and dropped from SymbolPalette, DiagramView’s NodeDrop event will be fired. The Shape of the Node that is dropped can be determined using Shape property as shown in the following code snippet.
Code Snippet :
//Register Node Drop Event diagramView.NodeDrop += new NodeDroppedEventHandler(diagramView_NodeDrop);
void diagramView_NodeDrop(object sender, NodeDroppedRoutedEventArgs evtArgs) { Node n = evtArgs.DroppedNode as Node; string str = n.Shape.ToString(); MessageBox.Show("The Dropped Node's Shape is : " + str); }
Here, diagramView is an instance of DiagramView
Please let us know if you have any queries.
Regards, Maria Amal Raj T, Diagram WPF&Silverlight Team, Syncfusion-Chennai.