Windows 8 从UserControl获取对页面的引用
我认为titel说明了一切:我的页面中有一个UserControl。如何获取对UserControl所在页面的引用?您可以使用Windows 8 从UserControl获取对页面的引用,windows-8,controls,Windows 8,Controls,我认为titel说明了一切:我的页面中有一个UserControl。如何获取对UserControl所在页面的引用?您可以使用 (Window.Current.Content as Frame).Content as Page 您可以使用获取对当前页面的引用 (Window.Current.Content as Frame).Content as Page
(Window.Current.Content as Frame).Content as Page
您可以使用获取对当前页面的引用
(Window.Current.Content as Frame).Content as Page