Serialize DependencyObject : it's easy !

You often read on the web that the DependencyObjects are not marked as serializable and that this is a major drawback of them...But there is a easy way to perform a serialization of these object : use XAMLWriter and XAMLReader :public class MyDependencyObject : DependencyObject{public...

You often read on the web that the DependencyObjects are not marked as serializable and that this is a major drawback of them...

But there is a easy way to perform a serialization of these object : use XAMLWriter and XAMLReader :