如何获取当前的LayoutAwarePage?

Krz*_*arz 3 windows-runtime winrt-xaml windows-store-apps

我不是在询问当前LayoutAwarePage的类型

Type type = ((Frame)Window.Current.Content).CurrentSourcePageType;
Run Code Online (Sandbox Code Playgroud)

但是关于当前页面的实例,我需要访问其属性

Fil*_*kun 10

var frame = (Frame)Window.Current.Content;
var page = (LayoutAwarePage)frame.Content;
Run Code Online (Sandbox Code Playgroud)