I have a xaml Page with class parameters:
public partial class result : Page
{
public result(string inpH1, string inpH2, string inpH3, string inpText)
{
InitializeComponent();
....
}
I want to add the page into a stackpanel:
Frame neu = new Frame();
neu.Source = new System.Uri("result.xaml", UriKind.RelativeOrAbsolute);
stackpanel1.Children.Add(neu);
My question is, how can I write my parameter in Uri?
My code works without parameters perfect, but I have no idea how to call it with parameters