// App.xaml

private void Appllication_Startup(object sender, StartupEventArgs e)
{
// this.RootVisual = new Page(); 에서 변경
this.RootVisual = new Page(e.InitParams);
}

// Page.xaml

// public Page()
// {
// InitializeComponent();
// }
// 에서 변경

public Page(IDictionary<string, string> InitParams)
{
InitializeComponent();
param = InitParams["category"].ToString();
}

+ Recent posts