SL4 앱에서 다음 프레임이 있습니다. 내가하고 싶은 것은 단위 테스트를하기 위해 프레임 내부를 탐색하는 페이지 객체를 얻는 것입니다 (URI가 필요하지 않습니다).프레임 안에서 내비게이션 된 페이지를 얻는 방법은 무엇입니까?
<navigation:Frame Margin="0,0,0,0" JournalOwnership="OwnsJournal" Source="{Binding CurrentPage}">
<navigation:Frame.UriMapper>
<uriMapper:UriMapper>
<uriMapper:UriMapping Uri="/User" MappedUri="/Views/UserPage.xaml"/>
<uriMapper:UriMapping Uri="/Login" MappedUri="/Views/LoginPage.xaml"/>
<uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
</uriMapper:UriMapper>
</navigation:Frame.UriMapper>
는 사람이 어떻게 그렇게 말해 주 시겠어요? 사전에
감사합니다,
yokyo