I have two pages and I want to navigate from one to another. But the second page has a parameter that should be received from the first.
...
class MainPage
{
MainPage()
{
InitializaComponent();
}
public void ok_buttonClicked(object sender, EventArgs e)
{
Frame.Navigate(typeof(SecondPage));
}
}
class SecondPage
{
SecondPage(int item)
{
InitializaComponent();
}
}