By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,320 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

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

P: n/a
Hi,

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

/Joakim
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


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

jayson
Nov 22 '05 #2

P: n/a
Jayson <an*******@discussions.microsoft.com> wrote in message news:<6A**********************************@microso ft.com>...
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
Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.