A
A
Avrong2015-04-10 20:54:35
Windows phone
Avrong, 2015-04-10 20:54:35

How to implement window transitions in XAML on Windows Phone 8.1?

I am also studying development for Windows Phone, so do not scold for misunderstanding)
I want to make a transition between windows (.xaml) in the application.
Everywhere they write to do so

private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
{
    this.Frame.Navigate(typeof(BasicPage2));
}

But Visual Studio swears that there is no BasicPage2 yet, even though the BasicPage2.xaml file has been created.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Zolotov, 2015-04-15
@SZolotov

Haven't decided yet?
Is the BasicPage2.xaml page exactly in the same namespace as the page you are navigating from?

D
dubcik, 2015-05-19
@dubcik

Button clickedbutton = sender as Button;
NavigationService.Navigate(new Uri("/BasicPage2.xaml", UriKind.Relative));
this is exactly what I use myself))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question