C# 页面间导航-表达式混合

C# 页面间导航-表达式混合,c#,xaml,expression-blend,C#,Xaml,Expression Blend,我使用事件处理程序进行页面导航,我使用的代码是: private void Menu(object sender, System.Windows.RoutedEventArgs e) { this.Content=new Page1(); } 使用此选项,可以从MainWindow.xaml(Itemtype-Window)导航到Page1.xaml(Itemtype-Page) 现在在Page1中有一个按钮,当我点击这个按钮时,它应该导航到另一个页面,比如第2页。但是,当我使用上述方

我使用事件处理程序进行页面导航,我使用的代码是:

private void Menu(object sender, System.Windows.RoutedEventArgs e)
{
    this.Content=new Page1();
}
使用此选项,可以从
MainWindow.xaml
(Itemtype-Window)导航到
Page1.xaml
(Itemtype-Page)

现在在
Page1
中有一个按钮,当我点击这个按钮时,它应该导航到另一个页面,比如第2页。但是,当我使用上述方法从
Page1
导航到
Page2
时,它不起作用

在这种情况下是否可以使用事件处理程序,我是否需要对代码进行任何修改