Does a custom EventArgs class associated with a subclassed CellType need to be flagged as Serializable

Posted by: j2associates on 8 September 2017, 1:37 pm EST

  • Posted 8 September 2017, 1:37 pm EST

    Hello all,


    Somewhere along the line I remember learning or seeing that a subclassed cell type needs the Serializable attribute applied to it. Does the same thing hold true for an associated subclassed EventArgs class, or does it even matter? Thanks in advance for any ideas and/or suggestions!

  • Replied 8 September 2017, 1:37 pm EST

    Hello,


    The custom celltype would need to be marked Serializable in order to copy the cell or to save a Spread that has one of the custom celltypes in it. I do not see why you would need to mark an associated EventArgs class the same way.

  • Replied 8 September 2017, 1:37 pm EST

    As always, thanks ScottS!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels