Windows 8 UserControl框架对象导航

Jos*_*son 1 microsoft-metro

在XAML用户控件中,Frame对象为null:

this.Frame.Navigate(typeof运算(FaxPropertiesPage));

如何在使用Windows 8 XAML用户控件的页面之间导航?我已将控件放在XAML页面上的Callisto Flyout中.

下面的搜索按钮必须将用户导航到另一个XAML页面.

在此输入图像描述

Jas*_*mes 5

我已成功使用app.xaml.cs中的代码

Frame frame = Window.Current.Content as Frame;
Run Code Online (Sandbox Code Playgroud)

然后使用标准的Navigate代码.