Can't set style for ButtonCell
mksdevelop opened this issue · comments
Description
I would like to set style for cells, baby it's not work.
I try
<Style TargetType="sv:ButtonCell">
<Setter Property="TitleColor" Value="{DynamicResource ButtonBackgroundColor}"/>
</Style>
but it doesn't work.
Although setting the style for sv:Section works
<Style TargetType="sv:Section">
<Setter Property="TextColor" Value="{DynamicResource TextPrimaryColor}" />
</Style>
Platforms
- [x ] Android
- [ x] iOS
Basic Information
- AiForms.SettingsView 1.3.33
- Xamarin.Forms 5.0.0.2612
Workaround
Set style manually
<sv:ButtonCell
TitleFontAttributes="Bold"
TitleColor="{DynamicResource ButtonBackgroundColor}" />