When doing Windows Phone development, will often encounter between page jumps and pass data, if the value is not passed, only two or three, we usually use Navigationservice.navigate ("page name?"). Name= "" &id= "", urikind.relative));
When it comes to passing multiple values, you'll write a lot of & sign connections. It's not nice.
Here I write a better way---pass the object
Ideas
Define a class that contains all the fields you need to pass, and then declare the object of the class in App.xaml.cs, and finally use the object,
Adds a field to this object.
Practice
The first step:
Define a public access class
<span style= "FONT-SIZE:14PX;" >public class Goodhelper {public string goodname { get; Set; } public int Goodprice { get; set; }} </span>
Detailed Description: http://wp.662p.com/thread-8214-1-1.html
Windows Phone 8 uses page-passing objects to implement multi-value transfer between pages