Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

How to apply style for the IconTabbedPage on iOS?

Open pcdus opened this issue 7 years ago • 0 comments

Hello,

I tried to use the IconTabbedPage, but I don't see how to keep the default style of the TabbedPage on the IconTabbedPage...

I've created a basic new Xamarin.Forms project, where a TabbedPage is already implemented. When we launch the project there is this default rendering: the bar background color is blue.

But when I use the IconTabbedPage and the font icons, the rendering is differrent: the bar background color is white.

I tried to duplicate the style but this didn't change anything:

<Style TargetType="NavigationPage">
    <Setter Property="BarBackgroundColor" Value="{StaticResource Primary}" />
    <Setter Property="BarTextColor" Value="White" />
</Style>

<Style TargetType="iconize:IconTabbedPage">
    <Setter Property="BarBackgroundColor" Value="{StaticResource Primary}" />
    <Setter Property="BarTextColor" Value="White" />
</Style>

Would you have another idea?

pcdus avatar Apr 05 '18 17:04 pcdus