Closed davidortinau closed 2 years ago
@davidortinau I think you could use the "Background" property.
Button:
<a:Button
x:Name="CounterBtn"
Background="{StaticResource Tertiary}"
TextColor="White"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Center" />
Thanks @junior-ts , you're absolutely right. Thanks!
I've updated the title and description to reflect my issue.
Looks like BackgroundColor styles the graphics background, but I expected it to be the button. I don't see a different color property to do that. I expect BackgroundColor to do the same styling as Background, just like native controls.
Default Styles:
Button: