Forum Xamarin Xamarin.Forms

Can we create a back button independent from the Navigation Bar?

I created a custom navigation bar with a hamburger menu and I only need it on a specific page. Except for that page, I want to have a back button on the other pages.

I added these namespaces to the ContentPage:

NavigationPage.HasNavigationBar="false" NavigationPage.HasBackButton="true"

However, it doesn't work, as the back button is in the navigation bar by default. Can we create a back button independent from the Navigation Bar? If we can, how?

Best Answer

Answers

  • MadameGreenPeaMadameGreenPea Member ✭✭
    edited October 2018

    Thank you so much!
    It almost helps. But how can we avoid the stack?

  • LandLuLandLu Member, Xamarin Team Xamurai

    Please open a new thread. describe more details about your new issue. And post the code or sample to help us reproduce this issue.

Sign In or Register to comment.