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.
How to achieve the following functions when using stencil?
For example, I am using stencil to create a new node on the diagram by dragging, if this is the third node I created by dragging from stencil, set the ID of this node to "3".
DTDeepa Thiruppathy Syncfusion Team June 1, 2022 10:34 AM UTC
Hi
Tealer,
Requirement:
How to calculate and update node’s count when node is drag and dropped from
stencil
We have achieved this requirement
by using ItemAddedEvent and its arguments. When node is drag and dropped from
stencil, ItemSource argument of event will be updated as Stencil.
Code snippet:
//item added event.
(diagram.Info as IGraphInfo).ItemAdded +=
MainWindow_ItemAdded;