How can I serialize a UI component (Button, ...)?

  • Thread starter Thread starter Joakim
  • Start date Start date
J

Joakim

Hi,

I would like to serialize UI components for local storage in a file.
Can this be done with for example a Button?

/Joakim
 
i know it can be done in XML via the XmlSerializer class...have a look on MSDN for more information

jayson
 
Jayson said:
i know it can be done in XML via the XmlSerializer class...have a look on MSDN for more information.

jayson

Hi,

yes, it can be done with XMLSerializer, SOAPFormatter,
BinaryFormatter, ...

But, this requires serializabel classes (marked with Serializable
attribute). This does not comply with UI components as Button.

So, the question remains: How can I serialize a UI component (Button,
....)?

Best Regards,
Joakim
 
Back
Top