Forum Xamarin.Forms

Set NavigationPage.HasBackButton in style

AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

Hi guys.
I would like to use implict styles to remove back buttons from my ContentPage in my app.

<Style TargetType="ContentPage">
    <Setter Property="NavigationPage.HasBackButton" Value="False" />
</Style>

<Style TargetType="NavigationPage">
    <Setter Property="NavigationPage.HasBackButton" Value="False" />
</Style>

These does not work...

There is a solution to use styles to remove BackButton?

Alessandro

Sign In or Register to comment.