Which actions should you perform?

You are designing a Windows Phone 7 application that consists of two PhoneApplicationPage objects. The application must take data entered by a user on the first page and pass the data to the second page for display purposes. You need to ensure that user data is passed properly from the first page and retrieved on the second page. Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)

You are designing a Windows Phone 7 application that consists of two PhoneApplicationPage objects. The application must take data entered by a user on the first page and pass the data to the second page for display purposes. You need to ensure that user data is passed properly from the first page and retrieved on the second page. Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)

A.
Use the NavigationContext object to navigate to the second page, passing the data as a query string value.

B.
Use the NavigationContext.QueryString property to read the data that is passed to the second page.

C.
Use the NavigationService.Source property to read the data that is passed to the second page.

D.
Use the NavigationService.CanGoBack property to determine if data is available from a previous page.

E.
Use the NavigationService.Navigate() method to navigate to the second page, passing the data value as a query string value.

F.
Use the NavigationService.GoForward() method to navigate to the second page, passing the data value as a query string value.



Leave a Reply 0

Your email address will not be published. Required fields are marked *