LoadState not called in C++ Windows Store App

By | October 14, 2013

I had a problem recently where LoadState was not being called in my C++ based Windows Store App page that was based upon LayoutAwarePage.

This question from the Microsoft forums pointed me in the right direction – I had an OnNavigatedTo declared, this was being called and the LoadState was not. I moved the code from the OnNavigatedTo into LoadState and removed the former. Everything works again and I can now use Suspend/Resume properly on the page 🙂

Category: C++