Hi,
How can I have a Trigger for FontImageSource? In below code for example, I want to sent the FontImageSource's Color to White when the value of Binding's post_liked is = 1
<Image Grid.Column="0" WidthRequest="50" ClassId="LK" HorizontalOptions="Start" VerticalOptions="Center">
<Image.Source>
<FontImageSource FontFamily="FontRegular" Glyph="{StaticResource IconLike}" Color="LightGray" />
</Image.Source>
<Image.Triggers>
<DataTrigger TargetType="Image" Binding="{Binding post_liked}" Value="1">
<Setter Property="FontImageSource Color" Value="White" />
</DataTrigger>
</Image.Triggers>
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="LikePostTapGestureRecognizer_Tapped" />
</Image.GestureRecognizers>
</Image>
Kindly help..
Thanks,
Jassim
