Hi there,
In pageA I have a HyperlinkButton that links to pageB
private void Link1_Click_1(object sender, RoutedEventArgs e)
{
HyperlinkButton btn = sender as HyperlinkButton;
string url = btn.Tag.ToString();
this.mainFrame.Navigate(new Uri(url, UriKind.Relative));
}
How can I make a COMPLEX object on pageA available to pageB?
Either passing it in when I recreate pageB or making it a public property on pageA that I can access I guess?
I could add the object to App.xaml so that it's available everywhere but I don't think that's best pratice