I have “MainPage” and “FriendsPage”.How I can simulate the back button if user clicked the back button in “FrinedPage”.MaiPage can show only one time.
MainPage>Friendspage, no returning back
.
I think I need to use “OnNavigatedFrom” method, but I don’t know how.Please help me.
On a button click call
or, in VB.NET,
Here is the MSDN docs:
http://msdn.microsoft.com/en-us/library/system.windows.navigation.navigationservice.goback.aspx