This project is read-only.

How to navigate to pages by using code?

Apr 12, 2013 at 1:46 PM
How to navigate to another page when I click a button?
Apr 12, 2013 at 1:52 PM
I found a way.

using FirstFloor.ModernUI.Windows.Navigation;

private void Ex1Button_Click(object sender, System.Windows.RoutedEventArgs e)
    {
            DefaultLinkNavigator _navigator = new DefaultLinkNavigator();
        _navigator.Navigate(new Uri("/Pages/Experiment1.xaml", UriKind.Relative), this, null);
    }
Is that correct?
Apr 12, 2013 at 5:58 PM