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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top