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>
1.4m articles
1.4m replys
5 comments
57.0k users