2012-04-01 3 views
0

내 클래스의 개체에서 페이지 포인터를 가져 오는 방법은 무엇입니까?NavigationService

그래서,이 코드가 있습니다

 <controls:PivotItem Header="Today"> 
      <Grid> 
       <ScrollViewer Height="520" VerticalAlignment="Top"> 
        <local:Fixtures Adress="..." Clubs="..."/> 
       </ScrollViewer> 
      </Grid> 
     </controls:PivotItem> 

을 그리고 나는 내 수업 설비에서 예외 핸들러에서 NavigationService.GoBack()를 할 필요가있다.

어떻게하면됩니까?

답변

3
(App.Current as App).RootFrame.GoBack() 
관련 문제