我不是在询问当前 LayoutAwarePage 的类型
Type type = ((Frame)Window.Current.Content).CurrentSourcePageType;
但是关于当前页面的实例,我需要访问它的属性
最佳答案
var frame = (Frame)Window.Current.Content;
var page = (LayoutAwarePage)frame.Content;
关于windows-runtime - 如何获取当前的 LayoutAwarePage?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13326107/