how can i globaly set a Styles for all "SfLinearGauge.LabelStyle. gauge:GaugeLabelStyle" TextColor value using App.xaml
ResourceDictionary
i tried this, but i get an exception when i load the page with the gauge
<Style TargetType="gauge:SfLinearGauge">
<Setter Property="gauge:SfLinearGauge.LabelStyle">
<Setter.Value>
<gauge:GaugeLabelStyle TextColor="{AppThemeBinding Light={StaticResource PrimaryColorLight}, Dark={StaticResource PrimaryColorDark}}" />
</Setter.Value>
</Setter>
</Style>