Tombstoning using EntireGraph() of StorageHandler<>

Topics: Framework Services
Jul 12, 2011 at 2:33 PM

Hi ,

I have asked a similar question previously about EntireGraph in http://caliburnmicro.codeplex.com/discussions/264660.

I have a View with many different controls , Now when the application is tombstoned ,currently i am storing individual control's value by using Propety method of StoragleHandler.

Now my question is , 1)  By using EntireGraph method of StoragleHandler, can i store the state of entire page rather than storing individual control's value ? 

2)To use EntireGraph method , the ViewModel should be serializable but Conductor doesn't seem to support serializing.

Currently my viewmodel looks like this  public class ProductPageViewModel : Conductor<IScreen>.Collection.OneActive    { }

Now what should my ProductPageViewModel inherit to make it support serializing & take the advantage of caliburn framework.