I have a button renderer to show a gradient color and I was wondering if it was possible to have a style on it like below?
<ContentPage.Resources>
<ResourceDictionary>
<Style x:Key="ButtonStyle" TargetType="local:GradientButton">
<Setter Property="TextColor" Value="White"/>
<Setter Property="BackgroundColor" Value="Silver" />
</Style>
</ResourceDictionary>
</ContentPage.Resources>