Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

IconToolbarItem default color is black #50

Open
BenDevelopment opened this issue Feb 8, 2017 · 2 comments
Open

IconToolbarItem default color is black #50

BenDevelopment opened this issue Feb 8, 2017 · 2 comments

Comments

@BenDevelopment
Copy link

Hello,
At first, thank you for your work.
I'm using IconToolbarItem in my application. It works well but the icon color is black by default.
How can I tell Iconize to set the IconToolbarItem color to the inherited theme color?
I dont' want to specify a particular color, I wan't to reproduce the same behavior than the default xamarin ToolbarItem witch is black on UWP, white on Android, and blue on IOS.

Thank you!

@MJomaa
Copy link

MJomaa commented Mar 5, 2017

I assume you use Xamarin.Forms.

Have you tried to define a global style for every IconToolbarItem in App.xaml?
Something like this

<OnPlatform x:Key="IconToolbarItemColor"
            x:TypeArguments="Color"
            Android="White"
            WinPhone="Black"
            iOS="Blue" />
<Style TargetType="iconize:IconToolbarItem">
        <Setter Property="IconColor" Value="{DynamicResource IconToolbarItemColor}" />
</Style>

Besides that.. does IconToolBarItem work in your UWP applications? For me it doesn't.

@Denny966
Copy link

Icons also aren't working on UWP for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants