I noticed in my performance profiler that my app is spending a lot (30%) of its time executing the above Save method in the OnMouseLefButtonDown of SymbolPaletteItem. I dragged a couple of items from the palette to the Canvas at the time. Is that the expected behavior?
PAParthiban A Syncfusion Team October 22, 2013 10:30 AM UTC
default dragging SymbolPaletteItem from symbol palette will undergoes serialization
and deserialization. It will take some time. This is our default behaviour. However
you can improve performance by use our virtual method CloneContent to return
any object other than serialization process by internally. This method will avoid
serialization and deserialization process by creating new object as you
had created sample in which we override that method to return new button
object. It will considerably increase the performance. For more information
please refer the attached sample.
let us know if you require further assist on this.
PAParthiban A Syncfusion Team October 22, 2013 10:37 AM UTC