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 do you get into the base Node interface for when you drop a Symbol from the Stencil to the SfDiagram? I need to implement an INode so that I have full control over the contents, specifically in terms of creating ports.
RARanjitha Amirthalingam Syncfusion Team September 28, 2015 12:24 PM UTC
Hi Steven,
Thanks for contacting Syncfusion Support.
Requirement: Need to add Port for the dropped Node from the Stencil.
We have provided support for ItemAdded event in SfDiagram. This event will get invoked when Symbol dropped to SfDiagram from Stencil. ItemAddedEventsargs will help to identify the dropped Node. We have provided code example and sample to achieve your requirement. Please refer to the code example and sample as below.
ItemAdded is in SfDiagram.Info? Thanks! I would have never found it there, and would have probably ended up doing something horrifying like listening to the node collection for changes.
This helps a lot!
RARanjitha Amirthalingam Syncfusion Team September 29, 2015 06:12 AM UTC