AD
Administrator
Syncfusion Team
October 13, 2004 01:34 PM UTC
Hi Truman
You can do what you describe by subclassing the Symbol class. You can also add your custom properties to symbols by calling SetPropertyValue(). You can pass it the name you want to assign to the property and the value. Properties that you add using this technique will be automatically serialized.
Take a look at the CustomSymbol sample which 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