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

Error Serializing System.Windows.Documents.Paragraph

P: 1
hi friends,
I want to serialize a System.Windows.Documents.Paragraph and for this I have written the following code in the application :

mypara cust = new mypara();
Paragraph ph = new Paragraph(new Run(str));
cust.Para = ph;
cust.Para.Foreground = System.Windows.Media.Brushes.AliceBlue;
string pass = format.Serialize(cust.Para);

mypara is a custom class created in which Para is the custom property which gets and sets a value of System.Windows.Documents . Paragraph object the last statement generates an error as Error in Serializing "System.Windows.Documents.Paragraph" If someone knows how to deal with this error then let me know.
Feb 10 '07 #1
Share this Question
Share on Google+
1 Reply


kenobewan
Expert 2.5K+
P: 4,871
Here is an article that may help:
Help Help me please!!!
Feb 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.