locked
Xamarin Forms Shell Navigated Page backbutton RRS feed

  • Question

  • User228975 posted

    Hi, I would like to know how to get the back button on a navigated page from the shell. At present every navigated page gets the hamburger icon.

    Xamarin Forms 4.1.0.778454

    Wednesday, September 25, 2019 1:58 AM

Answers

  • User369978 posted

    You could set BackButtonBehavior.IconOverride in navigated page to change the back button icon , code refer here .

    <Shell.BackButtonBehavior>
        <BackButtonBehavior Command="{Binding BackCommand}"
                            BindingContext="{Binding Source={x:Reference self}, Path=BindingContext}"
                            IconOverride="back.png" />   
    </Shell.BackButtonBehavior>
    

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, September 25, 2019 9:16 AM