The Persistence Framework
is designed (by default) to persist only the UI-related properties of the ui elements in an applicaation. It does not try to persist custom objects (which might be a DataContext or ItemsSource). The ISerializable interface is not taken into consideration, while serializing an object, but this is a nice suggestion and we are going to consider integrating it.
However, you are still able to persist a custom object with the framework. This can be done by overriding the GetSerializer method of the PersistenceManager class and using the Serializer class, instead of the UISerializer.
public class MyPersistenceManager : PersistenceManager
protected override Telerik.Windows.Persistence.Serialization.ISerializer GetSerializerOverride()
return new Serializer(this);
This serializer will try to save and load all of the properties of an object - collections, primitive, complex, etc. properties.
Please let me know if that would work in your scenario.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>