473,395 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to Serialize Class That Contains WPF-Specific Variables e.g. Viewport3D, Translat

I am getting errors when trying to seralize a class that has variables of type specific to WPF e.g. ModelVisual3D, TranslateTransform3D, Viewport3D.

How can I avoid these errors yet serialize the class as it is?
May 27 '10 #1
2 2269
Frinavale
9,735 Expert Mod 8TB
I hope you are aware that some classes are not serializable :)
It would really help us to help you if you posted the errors that you are getting ;)

-Frinny
May 27 '10 #2
Hi. I think u might be right about some things not being serializable. Threrfore I will not persue this further. Thanks
May 27 '10 #3

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

Similar topics

10
by: Dan | last post by:
All I Am Attempting To Serialize An Object To An XML File. Here Is The Code For That public string SaveNewSurvey( MutualSurveyObject mso_TempObject, int i_JobID ) { string s_RootFileName;...
1
by: Mark | last post by:
I'd like to take an instance of a class, and serialize it to a file on my computer. No security required on the file. Then, I'd like to be able to unserialize the file later and use the instance...
1
by: Craig Buchanan | last post by:
I am trying to serialize a class called Order to the ViewState. Order has one property called LineItems, which is an ArrayList. The ArrayList holds instances of a class named LineItem. Bother...
0
by: elziko | last post by:
I have a complex class that inherits from System.Windows.Forms.UserControl in VS2005. I am trying to serialize this class but I just get an InvalidOperationException stating: "There was an...
6
by: Demetri | last post by:
I have a class that I need to serialize. For example if I had a Person class with the properties of FirstName and LastName. Currently when I serialize the class it looks like this: <?xml...
0
by: Søren M. Olesen | last post by:
Hi I have a class defined as Friend: Friend Class MyCalss End Class However if I try to Serialize it using the XmlSerializer, i get an error
3
by: howachen | last post by:
Consider the following program, how to make it work properly when a string contains line-feed? <?php $temp = "this is a \ntest"; print serialize($temp); ?>
2
by: moondaddy | last post by:
I have a WPF windows app and from code in Window.xaml.cs I create an instance of a class whish is derived from Adorner. In this class I create shapes and need to apply a style from a resource file...
0
by: Farhomar | last post by:
How to create .net component class in the WPF. Example, we have timer control in windows form application, which is a hidden control with the functionalities. Is it possible to create Component...
5
by: whunter31 | last post by:
I am attempting to obtain class-data associated with a mouse-clicked ImageButton; which ImageButton is located within a Scollviewer wrapped WrapPanel and filled with numerous other ImageButtons. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.