如何从类的对象中获取页面指针?
所以,我有这样的代码:
<controls:PivotItem Header="Today">
<Grid>
<ScrollViewer Height="520" VerticalAlignment="Top">
<local:Fixtures Adress="..." Clubs="..."/>
</ScrollViewer>
</Grid>
</controls:PivotItem>并且我需要在我的类Fixtures的异常处理程序中使用NavigationService.GoBack()。
我该怎么做呢?
发布于 2012-04-02 02:25:25
(App.Current as App).RootFrame.GoBack()https://stackoverflow.com/questions/9966202
复制相似问题