Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set style for ButtonCell #202

Open
mksdevelop opened this issue Sep 29, 2023 · 0 comments
Open

Can't set style for ButtonCell #202

mksdevelop opened this issue Sep 29, 2023 · 0 comments

Comments

@mksdevelop
Copy link

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}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant