Hi I'd like to pass arguments through pages in my application.
its working with string and int. But what i want to pass is a list
What I'm actually doing :
MainPage :
PhoneApplicationService.Current.State["file"] = file;
NavigationService.Navigate(
new Uri(string.Format("/gamepage.xaml"), UriKind.Relative));
SecondPage :
file = (Elements)PhoneApplicationService.Current.State["file"];
File looks like that : Elements file
And Elements : list<Element>
Arriving my file is empty Oo. Do you know why ?