Lets say the first page in the app is the login page and then it takes me to do the main menu screen, is there a way to get rid of the back button in the main menu navigation bar, like get rid of the login page stack?
thank you
In Xamarin.Forms 1.3 and greater you can use
NavigationPage.SetHasBackButton(this, false);
In Xaml you can add:
Xaml
<ContentPage ....NameSpaces etc.... NavigationPage.HasBackButton="False" Title="MyPage"> </ContentPage>
2.1m questions
2.1m answers
60 comments
57.0k users