I try to persist XamGrid in a button and restore it in userccontrol constructor. It is fine when I have data for the Xamgrid(for example, ItemSource).
But if there is no data for XamGrid, restore xamgrid from storage will crash the app.
Possible it is a bug. Help please.
Hi Ben,
Was there an exception that was thrown? Can you post what the exception was that caused the crash?
When something is wrong, the screen is become white screen, it's kind of null object exception but SL reported it as 4004. Will try to reproduce it in a sample project.