How to add a label to a palette symbol in a diagram control?

How can we add a label to a palette symbol? Not the diagram node. For example, a user icon with a person's name under it?

4 Replies

AR Aravind Ravi Syncfusion Team May 13, 2020 03:08 PM UTC

Hi Scott,   
 
Currently we don’t have Support to add symbol description for symbols in palette in our diagram control. We have logged “Support to add symbol description for symbols in palette” as a feature. We does not have any immediate plans to start this feature. We will implement this feature in any one of our upcoming releases.    
 
You can track the feature status from the below link 
 
 
Regards,   
Aravind Ravi 



AR Aravind Ravi Syncfusion Team October 5, 2020 10:00 AM UTC

Hi Scott,  
 
We have implemented the feature Support to Add symbol description for symbols in palette in our Essential Studio 2020 Volume 3 release v18.3.0.35  is rolled out and is available for download under the following link          
 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
 
Regards,    
Aravind Ravi   



SI Simon September 12, 2021 04:25 PM UTC

How do you add the symbol description? Is there an example?



GG Gowtham Gunashekar Syncfusion Team September 13, 2021 12:18 PM UTC

Hi Scott 
 
 
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 SymbolInfo property of the nodes to set the description to the symbols. We have added the documentation link for adding symbol description for symbols in the palette for your references.  
 
 
Code snippet: 
 
           new DiagramNode() 
            { 
                Id = "process", 
                Shape = new DiagramShape() 
                { 
                    Type = Shapes.Flow, 
                    FlowShape = Syncfusion.Blazor.Diagrams.FlowShapes.Process 
                }, 
                // Sets symbol description for process shape. 
                SymbolInfo= new SymbolInfo() 
                { 
                    Description= new Syncfusion.Blazor.Diagrams.SymbolDescription 
                    { 
                        Text="Process" 
                    } 
                } 
            }, 
 
 
Regards, 
Gowtham 
 
 


Loader.
Up arrow icon