Can I pass value to Navigation Context like this:
NavigationContext.QueryString["param1"] = "PARAM1";
Is it a good way to set parameter?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First of all, why you need to store some parameters in
NavigationContext.QueryString? There are exists another good places for this.If you want to pass parameters to another page, use this:
if you need to save some values to the state dictionary, you can use
PhoneApplicationService.Current.State(global) orPhoneApplicationPage.State(page specific)