Take a look at the methods Frame.Navigate. There is an overload that allows you to pass a parameter.
Look at an example
This usually looks something like this:
private void OnButtonClick(object sender, EventArgs args)
{
if (sender == easyButton)
NavigateToDifficulty(DifficultyLevel.Easy);
else
NavigateToDifficulty(DifficultyLevel.Hard);
}
private void NavigateToDifficulty(DifficultyLevel difficulty)
{
this.Frame.Navigate(typeof(DifficultyPage), difficulty)
}
, LayoutAwarePage ( ) LoadState method