How to implement this solution to solve the circular navigation

This is a circular navigation solution from the link: http://create.msdn.com/en-us/education/catalog/article/nln-serv-wp7

To implement this given solution, the user must do this for the current project:

1.Find the use of the WindowsPhoneRecipes namespace on all project pages

2. Current project. You need to change the assembly name to WindowsPhoneRecipes

Please advise if necessary. Thanks

Thank you for your help in this implementation.

+4
source share
2 answers

You can also try the information that I wrote in this thread.

Installing a nonlinear navigation service?

Open the WindowsPhoneNonLinearNavigationService solution to see a working example.

In this you will see the following

  • the WindowsPhoneNonLinearNavigationService project is an example project that you can run
  • you will see a link added to NonLinearNavigationService (you need to add a link like this in your project)
  • NonLinearNavigationService project (you can include this project in your solution)
+1
source

I saw in this source code, you need to delete the comment line in the WMAppManifest.xml file in the properties folder, and then continue coding. http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/12/13/solving-circular-navigation-in-windows-phone-silverlight-applications.aspx

Here protected override void OnNavigatedTo (System.Windows.Navigation.NavigationEventArgs e) {} there is a function, so you have to pass one argument to Page1 (again). On page 1 (new), enter the passage counter. The first time the page loads, the counter value is 1, you click on page 1 (new) to transfer the count value to page1, and the counter is superimposed.

+2
source

Source: https://habr.com/ru/post/1334457/


All Articles