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.
I want to have the student's name showing in a list to drag and drop into the diagram. The only thing I am missing is the name showing in the symbol palette. How can I do this?
GGGowtham Gunashekar Syncfusion Team September 13, 2021 12:15 PM UTC
Hi Simon,
Please refer to the following sample for how to add the description to the symbols in symbol palette. In the sample we have used the GetSymbolInfo to map the symbols id as the description to the symbols. We have added the documentation link for adding symbol description for symbols in the palette for your references.
protected SymbolInfo GetSymbolInfo(IDiagramObject symbol) { SymbolInfo SymbolInfo = new SymbolInfo(); string text = (symbol as Node).Annotations.FirstOrDefault().Content; SymbolInfo.Description = new SymbolDescription() { Text = text }; return SymbolInfo; }
GGGowtham Gunashekar Syncfusion Team September 14, 2021 01:12 PM UTC
Hi Simon,
Thanks for your update. Please let us know whether you need any further assistance on this.
Regards
Gowtham
Need More Help?
Get personalized assistance from our support team.