Window1.xaml ... some script for wpfMap_Loaded.... btn.Click += delegate { frame.Navigate(new Uri("Page2.xaml", UriKind.Relative)); }; Page2.xaml Page2