There are 2 pages Page1.xaml and Page2.xaml . Both are at the root of the project. On the first page there is an element:

 <HyperLinkButton NavigateUri="/Page2.xaml" Content="Go"/> 

When the button is tapped, a message pops up.

enter image description here

This page navigation code is presented in many articles on the Internet, but for some reason my transition does not occur. How can this be overcome?

    1 answer 1

    try the item

     <Button Click="Button_Click" /> private void Button_Click(object sender, RoutedEventArgs e) { Frame.Navigate(typeof(Page2)); } 
    • Yes, I did - user200141
    • @ user200141 Good luck with development - Alibek Meldehan