Xamarin Forms masterdetail hide stand

I am working on a joint Xamarin forms project with a homepage. When I launch the application, the main details page is the first element that still loads, showing that the back button, which once clicked, opens the navigation (main) box. This makes no sense of navigation! I tried to hide the back button, but could not do it. Has anyone come across this and succeeded in doing this? I would prefer a software solution rather than xaml.

I tried to add the code below:

NavigationPage.SetHasBackButton(this, false); 

But that does not work. I want to keep the toolbar as I will add my own menu items here, but I want the back button to disappear.

+5
source share
1 answer

Try the following:

 NavigationPage.SetBackButtonTitle(this, string.Empty); NavigationPage.SetHasBackButton(this, false); 
+1
source

All Articles