Alex Kay
Alex Kay

Reputation: 289

How to set Navigation text color in Xamarin.Forms when using Shell

In my AppShell.xaml I have a number of settings for UI themes. For example,

<Setter Property="Shell.BackgroundColor" Value="Blue" />
<Setter Property="Shell.TitleColor" Value="White" />

However, I can't find the Shell setting for the text which appears next to the <- (Back) button in iOS. I've tried setting this using the NavigationPage object, but that had no effect.

How can this be set? Thanks.

EDIT: See my own answer/solution below.

Upvotes: 2

Views: 574

Answers (1)

Alex Kay
Alex Kay

Reputation: 289

I have found the solution.

What controls the Back button color is the ForegroundColor setter.

For example:

<Setter Property="Shell.ForegroundColor" Value="White" />

Upvotes: 2

Related Questions