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 October 14, 2004 09:02 AM UTC
Hi Jarrod,
You can use the Diagram''s Controller''s SelectionList which returns a list of nodes that are currently selected.
Here is a code snippet:
if (this.diagram1.Controller.SelectionList.Count>0)
{
IEnumerator selectednodes= this.diagram1.Controller.SelectionList.GetEnumerator();
string nodename = "";
while (selectednodes.MoveNext())
{
INode node = selectednodes.Current as INode;
nodename += node.Name.ToString() + "\r";
}
MessageBox.Show(nodename, "Currently Selected Node(s)");
}
else
{
MessageBox.Show("No nodes selected", "Currently Selected Node(s)");
}
Regards
Arun