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.
Hi,
Can I pass parameters to a custom symbol ?
If so, when I insert the symbol how do I pass the parameters ?
It seems from the previous post (Changing symbol names) that the properties should be changed after the symbol is inserted but I wouldn''t like to do that.
ADAdministrator Syncfusion Team October 21, 2004 05:04 PM UTC
Hi Jose
Yes, you should be able to do what you are seeking, but it is much easier to add custom properties to symbols by calling SetPropertyValue().
You would have to use a custom InsertSymbolTool and also take care Serialization when you want to add a Symbol with a custom parameterized constructor.
The CustomSymbol sample demonstrates how a new property (Clickcount) is added to a derived Symbol (MySymbol). It also demonstrates how this property can be displayed in the Property Editor and also how it can be serialized.
Regards
Arun