Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不是在询问当前 LayoutAwarePage 的类型
Type type = ((Frame)Window.Current.Content).CurrentSourcePageType;
但是关于当前页面的实例,我需要访问它的属性
var frame = (Frame)Window.Current.Content; var page = (LayoutAwarePage)frame.Content;