Xamarin.Plugins
Xamarin.Plugins copied to clipboard
IconToolbarItem default color is black
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!
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.
Icons also aren't working on UWP for me