Mar 6, 2012 at 7:36 PM
Edited Mar 6, 2012 at 7:41 PM
If you switch to the main menu and then launch the app from there, you are not recovering from tombstoning, you are launching a new instance of the app. The standard behaviour for such an action is to not restore the state of the app.
If you're just testing by hitting Start and then Back, then you're probably not even Tombstoning, just FastAppSwitching. The easiest way to test tombstoning is to select the option in the debug menu under project properties.
Unless you've built your own object which implements `ICanTombstone` or you're persisting the ViewModel then the library will not be able to restore the objects you're adding to ctlPanel.
To be clear you are not tombstoning if you launch a new instance of the app.
TombstoneHelper only supports tombstoning, not persisting information between instances of apps. If you want to persist information or state between app instances you'll need to do that yourself and put the information in IsolatedStorgeSettings or a file
For an example of what's saved, you can examine the State property of the page after calling SaveState().
Alternatively, you can see what and how state is saved for each type by looking at the Save() method in each of the XxxxxTombstoner files.